#include <L1EmParticle.h>
Public Types | |
enum | EmType { kIsolated, kNonIsolated, kUndefined, kNumOfEmTypes } |
Public Member Functions | |
int | bx () const |
virtual L1EmParticle * | clone () const |
returns a clone of the Candidate object | |
const L1GctEmCand * | gctEmCand () const |
const edm::Ref < L1GctEmCandCollection > & | gctEmCandRef () const |
L1EmParticle () | |
L1EmParticle (const LorentzVector &p4, EmType type=kUndefined, int bx=0) | |
L1EmParticle (const LorentzVector &p4, const edm::Ref< L1GctEmCandCollection > &aRef, int bx=0) | |
L1EmParticle (const PolarLorentzVector &p4, EmType type=kUndefined, int bx=0) | |
L1EmParticle (const PolarLorentzVector &p4, const edm::Ref< L1GctEmCandCollection > &aRef, int bx=0) | |
void | setBx (int bx) |
void | setType (EmType type) |
EmType | type () const |
virtual | ~L1EmParticle () |
Private Attributes | |
int | bx_ |
edm::Ref< L1GctEmCandCollection > | ref_ |
EmType | type_ |
Definition at line 29 of file L1EmParticle.h.
Definition at line 33 of file L1EmParticle.h.
{ kIsolated, kNonIsolated, kUndefined, kNumOfEmTypes } ;
L1EmParticle::L1EmParticle | ( | ) |
L1EmParticle::L1EmParticle | ( | const LorentzVector & | p4, |
const edm::Ref< L1GctEmCandCollection > & | aRef, | ||
int | bx = 0 |
||
) |
Definition at line 36 of file L1EmParticle.cc.
References gctEmCand(), edm::Ref< C, T, F >::isNonnull(), L1GctEmCand::isolated(), kIsolated, kNonIsolated, ref_, and type_.
L1EmParticle::L1EmParticle | ( | const PolarLorentzVector & | p4, |
const edm::Ref< L1GctEmCandCollection > & | aRef, | ||
int | bx = 0 |
||
) |
Definition at line 49 of file L1EmParticle.cc.
References gctEmCand(), edm::Ref< C, T, F >::isNonnull(), L1GctEmCand::isolated(), kIsolated, kNonIsolated, ref_, and type_.
L1EmParticle::L1EmParticle | ( | const LorentzVector & | p4, |
EmType | type = kUndefined , |
||
int | bx = 0 |
||
) |
Definition at line 62 of file L1EmParticle.cc.
: LeafCandidate( ( char ) 0, p4 ), type_( type ), ref_( edm::Ref< L1GctEmCandCollection >() ), bx_( bx ) { }
L1EmParticle::L1EmParticle | ( | const PolarLorentzVector & | p4, |
EmType | type = kUndefined , |
||
int | bx = 0 |
||
) |
Definition at line 72 of file L1EmParticle.cc.
: LeafCandidate( ( char ) 0, p4 ), type_( type ), ref_( edm::Ref< L1GctEmCandCollection >() ), bx_( bx ) { }
virtual l1extra::L1EmParticle::~L1EmParticle | ( | ) | [inline, virtual] |
Definition at line 60 of file L1EmParticle.h.
{}
int l1extra::L1EmParticle::bx | ( | ) | const [inline] |
Definition at line 75 of file L1EmParticle.h.
References bx_.
Referenced by setBx().
{ return bx_ ; }
virtual L1EmParticle* l1extra::L1EmParticle::clone | ( | void | ) | const [inline, virtual] |
returns a clone of the Candidate object
Reimplemented from reco::LeafCandidate.
Definition at line 72 of file L1EmParticle.h.
References L1EmParticle().
{ return new L1EmParticle( *this ) ; }
const L1GctEmCand* l1extra::L1EmParticle::gctEmCand | ( | ) | const [inline] |
Definition at line 69 of file L1EmParticle.h.
References edm::Ref< C, T, F >::get(), and ref_.
Referenced by L1EmParticle().
const edm::Ref< L1GctEmCandCollection >& l1extra::L1EmParticle::gctEmCandRef | ( | ) | const [inline] |
void l1extra::L1EmParticle::setBx | ( | int | bx | ) | [inline] |
void l1extra::L1EmParticle::setType | ( | EmType | type | ) | [inline] |
EmType l1extra::L1EmParticle::type | ( | ) | const [inline] |
Definition at line 63 of file L1EmParticle.h.
References type_.
Referenced by getObjectType(), and setType().
{ return type_ ; }
int l1extra::L1EmParticle::bx_ [private] |
Definition at line 95 of file L1EmParticle.h.
edm::Ref< L1GctEmCandCollection > l1extra::L1EmParticle::ref_ [private] |
Definition at line 94 of file L1EmParticle.h.
Referenced by gctEmCand(), gctEmCandRef(), and L1EmParticle().
EmType l1extra::L1EmParticle::type_ [private] |
Definition at line 93 of file L1EmParticle.h.
Referenced by L1EmParticle(), setType(), and type().