CMS 3D CMS Logo

ShallowClonePtrCandidate.cc
Go to the documentation of this file.
2 using namespace reco;
3 
5 
7 
9 
11 
13 
15 
17 
18 bool ShallowClonePtrCandidate::hasMasterClonePtr() const { return true; }
19 
21 
23 
25 
27 
29 
31 
33 
35 
37 
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
const Candidate * daughter(size_type i) const override
return daughter at a given position (throws an exception)
virtual size_type numberOfMothers() const =0
number of mothers (zero or one in most of but not all the cases)
CandidatePtr masterClone_
CandidatePtrerence to master clone.
virtual bool isPhoton() const =0
ShallowClonePtrCandidate * clone() const override
returns a clone of the Candidate object
virtual size_type numberOfDaughters() const =0
number of daughters
const Candidate * mother(size_type i) const override
return mother at a given position (throws an exception)
virtual bool isCaloMuon() const =0
bool hasMasterClonePtr() const override
has master clone pointer
ShallowClonePtrCandidate()
default constructor
size_t numberOfMothers() const override
number of mothers
const CandidatePtr & masterClonePtr() const override
returns reference to master clone pointer
virtual bool isStandAloneMuon() const =0
virtual bool isMuon() const =0
~ShallowClonePtrCandidate() override
destructor
size_t numberOfDaughters() const override
number of daughters
fixed size matrix
virtual bool isElectron() const =0
virtual bool isTrackerMuon() const =0
virtual bool isGlobalMuon() const =0