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 const LorentzVector & p4() const GCC11_FINAL
four-momentum Lorentz vector
virtual int pdgId() const GCC11_FINAL
PDG identifier.
stand alone muon component tag
virtual TrackType bestTrackType() const
track type
GET_DEFAULT_CANDIDATE_MULTIPLECOMPONENTS(RecoCandidate, TrackRef, track, numberOfTracks)
get multuple tracks
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 int status() const GCC11_FINAL
status word
GET_DEFAULT_CANDIDATE_COMPONENT(CaloRecHitCandidate, edm::RefToBase< CaloRecHit >, caloRecHit)
get default Track component
virtual CaloTowerRef caloTower() const
reference to a CaloTower
virtual TrackBaseRef bestTrackRef() const
best track RefToBase
GET_CANDIDATE_COMPONENT(PFCandidate, PFCandidate::ParticleType, particleId, PFParticleIdTag)
virtual size_t numberOfTracks() const
number of multiple Tracks
conbined muon component tag
virtual const Track * bestTrack() const
best track pointer
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 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