CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ShallowClonePtrCandidate.cc
Go to the documentation of this file.
2 using namespace reco;
3 
5 
7 
8 size_t ShallowClonePtrCandidate::numberOfDaughters() const { return masterClone_->numberOfDaughters(); }
9 
10 size_t ShallowClonePtrCandidate::numberOfMothers() const { return masterClone_->numberOfMothers(); }
11 
13 
15 
17 
18 bool ShallowClonePtrCandidate::hasMasterClonePtr() const { return true; }
19 
21 
22 bool ShallowClonePtrCandidate::isElectron() const { return masterClone_->isElectron(); }
23 
24 bool ShallowClonePtrCandidate::isMuon() const { return masterClone_->isMuon(); }
25 
26 bool ShallowClonePtrCandidate::isGlobalMuon() const { return masterClone_->isGlobalMuon(); }
27 
28 bool ShallowClonePtrCandidate::isStandAloneMuon() const { return masterClone_->isStandAloneMuon(); }
29 
30 bool ShallowClonePtrCandidate::isTrackerMuon() const { return masterClone_->isTrackerMuon(); }
31 
32 bool ShallowClonePtrCandidate::isCaloMuon() const { return masterClone_->isCaloMuon(); }
33 
34 bool ShallowClonePtrCandidate::isPhoton() const { return masterClone_->isPhoton(); }
35 
36 bool ShallowClonePtrCandidate::isConvertedPhoton() const { return masterClone_->isConvertedPhoton(); }
37 
38 bool ShallowClonePtrCandidate::isJet() const { return masterClone_->isJet(); }
size_t size_type
Definition: Candidate.h:29
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
const Candidate * mother(size_type i) const override
return mother at a given position (throws an exception)
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
~ShallowClonePtrCandidate() override
destructor
size_t numberOfDaughters() const override
number of daughters