1 #ifndef Candidate_ShallowCloneCandidate_h 2 #define Candidate_ShallowCloneCandidate_h 25 masterClone->masterClone() :
57 virtual bool isMuon()
const;
64 virtual bool isJet()
const;
CandidateBaseRef masterClone_
CandidateBaseReference to master clone.
int Charge
electric charge type
virtual bool isConvertedPhoton() const
CandidateCollection daughters
collection of daughter candidates
virtual size_t numberOfDaughters() const
number of daughters
virtual bool isElectron() const
virtual size_t numberOfMothers() const
number of daughters
virtual bool isPhoton() const
virtual bool isTrackerMuon() const
ShallowCloneCandidate(const CandidateBaseRef &masterClone, Charge q, const LorentzVector &p4, const Point &vtx=Point(0, 0, 0))
constructor from values
virtual bool hasMasterClone() const
has master clone
virtual bool overlap(const Candidate &c) const
check overlap with another Candidate
ShallowCloneCandidate(const CandidateBaseRef &masterClone, Charge q, const PolarLorentzVector &p4, const Point &vtx=Point(0, 0, 0))
constructor from values
virtual ShallowCloneCandidate * clone() const
returns a clone of the Candidate object
virtual ~ShallowCloneCandidate()
destructor
virtual bool isGlobalMuon() const
virtual const Candidate * daughter(size_type) const
return daughter at a given position (throws an exception)
virtual bool isStandAloneMuon() const
ShallowCloneCandidate(const CandidateBaseRef &masterClone)
constructor from Particle
virtual bool isCaloMuon() const
virtual const CandidateBaseRef & masterClone() const
returns reference to master clone
ShallowCloneCandidate()
default constructor
math::XYZTLorentzVector LorentzVector
Lorentz vector.
virtual const Candidate * daughter(size_type i) const
return daughter at a given position (throws an exception)
math::XYZPoint Point
point in the space
virtual bool isJet() const
virtual const LorentzVector & p4() const final
four-momentum Lorentz vector
virtual bool isMuon() const
virtual const Candidate * mother(size_type i) const
return daughter at a given position (throws an exception)
math::XYZPoint Point
point in the space
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.