virtual const Candidate * daughter(size_type i) const =0
return daughter at a given position, i = 0, ... numberOfDaughters() - 1 (read only mode)
bool hasMasterClonePtr() const override
has master clone pointer
bool isCaloMuon() const override
bool isGlobalMuon() const override
virtual bool isPhoton() const =0
const Candidate * mother(size_type i) const override
return mother at a given position (throws an exception)
virtual const Candidate * mother(size_type i=0) const =0
return pointer to mother
virtual bool isConvertedPhoton() const =0
bool isTrackerMuon() const override
virtual size_type numberOfMothers() const =0
number of mothers (zero or one in most of but not all the cases)
size_t numberOfDaughters() const override
number of daughters
virtual bool isStandAloneMuon() const =0
virtual size_type numberOfDaughters() const =0
number of daughters
virtual bool isCaloMuon() const =0
virtual bool isMuon() const =0
~ShallowClonePtrCandidate() override
destructor
bool isElectron() const override
bool isMuon() const override
virtual bool isElectron() const =0
bool isConvertedPhoton() const override
bool isJet() const override
const Candidate * daughter(size_type i) const override
return daughter at a given position (throws an exception)
CandidatePtr masterClone_
CandidatePtrerence to master clone.
ShallowClonePtrCandidate * clone() const override
returns a clone of the Candidate object
virtual bool isTrackerMuon() const =0
bool isPhoton() const override
const CandidatePtr & masterClonePtr() const override
returns reference to master clone pointer
ShallowClonePtrCandidate()
default constructor
bool isStandAloneMuon() const override
virtual bool isJet() const =0
virtual bool isGlobalMuon() const =0
size_t numberOfMothers() const override
number of mothers