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(); }
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:428
reco::ShallowCloneCandidate::numberOfMothers
size_t numberOfMothers() const override
number of daughters
Definition: ShallowCloneCandidate.cc:10
reco::ShallowCloneCandidate::isMuon
bool isMuon() const override
Definition: ShallowCloneCandidate.cc:24
reco::ShallowCloneCandidate::mother
const Candidate * mother(size_type i) const override
return daughter at a given position (throws an exception)
Definition: ShallowCloneCandidate.cc:14
reco::Candidate::isPhoton
virtual bool isPhoton() const =0
reco::ShallowCloneCandidate::isConvertedPhoton
bool isConvertedPhoton() const override
Definition: ShallowCloneCandidate.cc:36
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:46
reco::ShallowCloneCandidate::isGlobalMuon
bool isGlobalMuon() const override
Definition: ShallowCloneCandidate.cc:26
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::ShallowCloneCandidate::numberOfDaughters
size_t numberOfDaughters() const override
number of daughters
Definition: ShallowCloneCandidate.cc:8
reco::Candidate::numberOfMothers
virtual size_type numberOfMothers() const =0
number of mothers (zero or one in most of but not all the cases)
reco::ShallowCloneCandidate::isCaloMuon
bool isCaloMuon() const override
Definition: ShallowCloneCandidate.cc:32
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::ShallowCloneCandidate::isPhoton
bool isPhoton() const override
Definition: ShallowCloneCandidate.cc:34
reco::ShallowCloneCandidate::hasMasterClone
bool hasMasterClone() const override
has master clone
Definition: ShallowCloneCandidate.cc:18
reco::ShallowCloneCandidate::masterClone_
CandidateBaseRef masterClone_
CandidateBaseReference to master clone.
Definition: ShallowCloneCandidate.h:71
reco::ShallowCloneCandidate::isTrackerMuon
bool isTrackerMuon() const override
Definition: ShallowCloneCandidate.cc:30
reco::ShallowCloneCandidate::isJet
bool isJet() const override
Definition: ShallowCloneCandidate.cc:38
reco::Candidate
Definition: Candidate.h:27
ShallowCloneCandidate.h
reco::ShallowCloneCandidate::clone
ShallowCloneCandidate * clone() const override
returns a clone of the Candidate object
Definition: ShallowCloneCandidate.cc:6
reco::ShallowCloneCandidate::ShallowCloneCandidate
ShallowCloneCandidate()
default constructor
Definition: ShallowCloneCandidate.h:20
reco::Candidate::isElectron
virtual bool isElectron() const =0
reco::ShallowCloneCandidate::isElectron
bool isElectron() const override
Definition: ShallowCloneCandidate.cc:22
edm::RefToBase< Candidate >
reco::Candidate::isTrackerMuon
virtual bool isTrackerMuon() const =0
reco::ShallowCloneCandidate::isStandAloneMuon
bool isStandAloneMuon() const override
Definition: ShallowCloneCandidate.cc:28
reco::ShallowCloneCandidate
Definition: ShallowCloneCandidate.h:15
reco::ShallowCloneCandidate::~ShallowCloneCandidate
~ShallowCloneCandidate() override
destructor
Definition: ShallowCloneCandidate.cc:4
reco::Candidate::isJet
virtual bool isJet() const =0
reco::Candidate::isGlobalMuon
virtual bool isGlobalMuon() const =0
reco::ShallowCloneCandidate::daughter
const Candidate * daughter(size_type i) const override
return daughter at a given position (throws an exception)
Definition: ShallowCloneCandidate.cc:12
reco::Candidate::size_type
size_t size_type
Definition: Candidate.h:29
reco::ShallowCloneCandidate::masterClone
const CandidateBaseRef & masterClone() const override
returns reference to master clone
Definition: ShallowCloneCandidate.cc:20