CMS 3D CMS Logo

ShallowCloneCandidate.cc
Go to the documentation of this file.
2 using namespace reco;
3 
5 
7 
9 
11 
13 
15 
17 
18 bool ShallowCloneCandidate::hasMasterClone() const { return true; }
19 
21 
23 
25 
27 
29 
31 
33 
35 
37 
38 bool ShallowCloneCandidate::isJet() const { return masterClone_->isJet(); }
CandidateBaseRef masterClone_
CandidateBaseReference to master clone.
size_t numberOfMothers() const override
number of daughters
virtual const Candidate * daughter(size_type i) const =0
return daughter at a given position, i = 0, ... numberOfDaughters() - 1 (read only mode) ...
virtual bool isJet() const =0
virtual const Candidate * mother(size_type i=0) const =0
return pointer to mother
size_t size_type
Definition: Candidate.h:29
virtual bool isConvertedPhoton() const =0
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
bool isGlobalMuon() const override
bool isElectron() const override
virtual bool isPhoton() const =0
bool hasMasterClone() const override
has master clone
virtual size_type numberOfDaughters() const =0
number of daughters
virtual bool isCaloMuon() const =0
bool isTrackerMuon() const override
virtual bool isStandAloneMuon() const =0
const CandidateBaseRef & masterClone() const override
returns reference to master clone
ShallowCloneCandidate * clone() const override
returns a clone of the Candidate object
~ShallowCloneCandidate() override
destructor
virtual bool isMuon() const =0
ShallowCloneCandidate()
default constructor
const Candidate * daughter(size_type i) const override
return daughter at a given position (throws an exception)
fixed size matrix
bool isStandAloneMuon() const override
bool isConvertedPhoton() const override
bool isCaloMuon() const override
virtual bool isElectron() const =0
virtual bool isTrackerMuon() const =0
const Candidate * mother(size_type i) const override
return daughter at a given position (throws an exception)
virtual bool isGlobalMuon() const =0