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 
reco::Candidate::daughter
virtual const Candidate * daughter(size_type i) const =0
return daughter at a given position, i = 0, ... numberOfDaughters() - 1 (read only mode)
mps_fire.i
i
Definition: mps_fire.py:355
reco::ShallowClonePtrCandidate::hasMasterClonePtr
bool hasMasterClonePtr() const override
has master clone pointer
Definition: ShallowClonePtrCandidate.cc:18
reco::ShallowClonePtrCandidate::isCaloMuon
bool isCaloMuon() const override
Definition: ShallowClonePtrCandidate.cc:32
reco::ShallowClonePtrCandidate::isGlobalMuon
bool isGlobalMuon() const override
Definition: ShallowClonePtrCandidate.cc:26
reco::Candidate::isPhoton
virtual bool isPhoton() const =0
reco::ShallowClonePtrCandidate::mother
const Candidate * mother(size_type i) const override
return mother at a given position (throws an exception)
Definition: ShallowClonePtrCandidate.cc:14
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:45
reco::Candidate::mother
virtual const Candidate * mother(size_type i=0) const =0
return pointer to mother
reco::Candidate::isConvertedPhoton
virtual bool isConvertedPhoton() const =0
reco::ShallowClonePtrCandidate::isTrackerMuon
bool isTrackerMuon() const override
Definition: ShallowClonePtrCandidate.cc:30
reco::Candidate::numberOfMothers
virtual size_type numberOfMothers() const =0
number of mothers (zero or one in most of but not all the cases)
reco::ShallowClonePtrCandidate::numberOfDaughters
size_t numberOfDaughters() const override
number of daughters
Definition: ShallowClonePtrCandidate.cc:8
reco::Candidate::isStandAloneMuon
virtual bool isStandAloneMuon() const =0
reco::Candidate::numberOfDaughters
virtual size_type numberOfDaughters() const =0
number of daughters
reco::Candidate::isCaloMuon
virtual bool isCaloMuon() const =0
reco::Candidate::isMuon
virtual bool isMuon() const =0
reco::ShallowClonePtrCandidate::~ShallowClonePtrCandidate
~ShallowClonePtrCandidate() override
destructor
Definition: ShallowClonePtrCandidate.cc:4
ShallowClonePtrCandidate.h
reco::ShallowClonePtrCandidate::isElectron
bool isElectron() const override
Definition: ShallowClonePtrCandidate.cc:22
reco::ShallowClonePtrCandidate::isMuon
bool isMuon() const override
Definition: ShallowClonePtrCandidate.cc:24
edm::Ptr< Candidate >
reco::Candidate
Definition: Candidate.h:27
reco::Candidate::isElectron
virtual bool isElectron() const =0
reco::ShallowClonePtrCandidate::isConvertedPhoton
bool isConvertedPhoton() const override
Definition: ShallowClonePtrCandidate.cc:36
reco::ShallowClonePtrCandidate::isJet
bool isJet() const override
Definition: ShallowClonePtrCandidate.cc:38
reco::ShallowClonePtrCandidate::daughter
const Candidate * daughter(size_type i) const override
return daughter at a given position (throws an exception)
Definition: ShallowClonePtrCandidate.cc:12
reco::ShallowClonePtrCandidate::masterClone_
CandidatePtr masterClone_
CandidatePtrerence to master clone.
Definition: ShallowClonePtrCandidate.h:70
reco::ShallowClonePtrCandidate::clone
ShallowClonePtrCandidate * clone() const override
returns a clone of the Candidate object
Definition: ShallowClonePtrCandidate.cc:6
reco::Candidate::isTrackerMuon
virtual bool isTrackerMuon() const =0
reco::ShallowClonePtrCandidate::isPhoton
bool isPhoton() const override
Definition: ShallowClonePtrCandidate.cc:34
reco::ShallowClonePtrCandidate
Definition: ShallowClonePtrCandidate.h:15
reco::ShallowClonePtrCandidate::masterClonePtr
const CandidatePtr & masterClonePtr() const override
returns reference to master clone pointer
Definition: ShallowClonePtrCandidate.cc:20
reco::ShallowClonePtrCandidate::ShallowClonePtrCandidate
ShallowClonePtrCandidate()
default constructor
Definition: ShallowClonePtrCandidate.h:20
reco::ShallowClonePtrCandidate::isStandAloneMuon
bool isStandAloneMuon() const override
Definition: ShallowClonePtrCandidate.cc:28
reco::Candidate::isJet
virtual bool isJet() const =0
reco::Candidate::isGlobalMuon
virtual bool isGlobalMuon() const =0
reco::Candidate::size_type
size_t size_type
Definition: Candidate.h:29
reco::ShallowClonePtrCandidate::numberOfMothers
size_t numberOfMothers() const override
number of mothers
Definition: ShallowClonePtrCandidate.cc:10