1 #ifndef RecoCandidate_RecoCandidate_h
2 #define RecoCandidate_RecoCandidate_h
64 return( ! r1.isNull() && ! r2.isNull() && r1 ==
r2 );
68 template<
typename,
typename,
typename>
friend struct component;
virtual reco::GsfTrackRef gsfTrack() const
reference to a GsfTrack
int Charge
electric charge type
bool checkOverlap(const R &r1, const R &r2) const
check if two components overlap
virtual int pdgId() const
PDG identifier.
virtual int status() const
status word
stand alone muon component tag
virtual TrackType bestTrackType() const
track type
virtual reco::TrackRef standAloneMuon() const
reference to a stand-alone muon Track
virtual reco::TrackRef track() const
reference to a Track
RecoCandidate(Charge q, const P4 &p4, const Point &vtx=Point(0, 0, 0), int pdgId=0, int status=0)
constructor from values
virtual CaloTowerRef caloTower() const
reference to a CaloTower
virtual TrackBaseRef bestTrackRef() const
best track RefToBase
virtual size_t numberOfTracks() const
number of multiple Tracks
#define GET_DEFAULT_CANDIDATE_MULTIPLECOMPONENTS(CAND, TYPE, FUN, SIZE)
conbined muon component tag
virtual const Track * bestTrack() const
best track pointer
#define GET_DEFAULT_CANDIDATE_COMPONENT(CAND, TYPE, FUN)
virtual ~RecoCandidate()
destructor
virtual bool overlap(const Candidate &) const =0
check overlap with another candidate
virtual RecoCandidate * clone() const
returns a clone of the Candidate object
RecoCandidate()
default constructor
math::XYZPoint Point
point in the space
virtual const LorentzVector & p4() const
four-momentum Lorentz vector
virtual reco::SuperClusterRef superCluster() const
reference to a SuperCluster
math::XYZPoint Point
point in the space
virtual reco::TrackRef combinedMuon() const
reference to a stand-alone muon Track
#define GET_CANDIDATE_COMPONENT(CAND, TYPE, FUN, TAG)