CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ShallowClonePtrCandidate.cc
Go to the documentation of this file.
2 using namespace reco;
3 
5 }
6 
8  return new ShallowClonePtrCandidate( *this );
9 }
10 
12  return masterClone_->begin();
13 }
14 
16  return masterClone_->end();
17 }
18 
20  return iterator( new iterator_imp_specific );
21 }
22 
24  return iterator( new iterator_imp_specific );
25 }
26 
28  return masterClone_->numberOfDaughters();
29 }
30 
32  return masterClone_->numberOfMothers();
33 }
34 
36  return masterClone_->daughter( i );
37 }
38 
40  return masterClone_->mother( i );
41 }
42 
44  return 0;
45 }
46 
48  return true;
49 }
50 
52  return masterClone_;
53 }
54 
56  return masterClone_->isElectron();
57 }
58 
60  return masterClone_->isMuon();
61 }
62 
64  return masterClone_->isGlobalMuon();
65 }
66 
68  return masterClone_->isStandAloneMuon();
69 }
70 
72  return masterClone_->isTrackerMuon();
73 }
74 
76  return masterClone_->isCaloMuon();
77 }
78 
80  return masterClone_->isPhoton();
81 }
82 
84  return masterClone_->isConvertedPhoton();
85 }
86 
88  return masterClone_->isJet();
89 }
virtual const_iterator begin() const
first daughter const_iterator
int i
Definition: DBlmapReader.cc:9
size_t size_type
Definition: Candidate.h:32
virtual size_t numberOfDaughters() const
number of daughters
virtual const CandidatePtr & masterClonePtr() const
returns reference to master clone pointer
virtual const Candidate * daughter(size_type i) const
return daughter at a given position (throws an exception)
CandidatePtr masterClone_
CandidatePtrerence to master clone.
virtual bool hasMasterClonePtr() const
has master clone pointer
ShallowClonePtrCandidate()
default constructor
candidate::iterator iterator
Definition: Candidate.h:34
virtual ~ShallowClonePtrCandidate()
destructor
virtual size_t numberOfMothers() const
number of mothers
virtual const Candidate * mother(size_type i) const
return mother at a given position (throws an exception)
virtual const_iterator end() const
last daughter const_iterator
virtual ShallowClonePtrCandidate * clone() const
returns a clone of the Candidate object