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