1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
#include "DataFormats/Candidate/interface/ShallowCloneCandidate.h"
using namespace reco;
ShallowCloneCandidate::~ShallowCloneCandidate() {}
ShallowCloneCandidate* ShallowCloneCandidate::clone() const { return new ShallowCloneCandidate(*this); }
size_t ShallowCloneCandidate::numberOfDaughters() const { return masterClone_->numberOfDaughters(); }
size_t ShallowCloneCandidate::numberOfMothers() const { return masterClone_->numberOfMothers(); }
const Candidate* ShallowCloneCandidate::daughter(size_type i) const { return masterClone_->daughter(i); }
const Candidate* ShallowCloneCandidate::mother(size_type i) const { return masterClone_->mother(i); }
Candidate* ShallowCloneCandidate::daughter(size_type i) { return nullptr; }
bool ShallowCloneCandidate::hasMasterClone() const { return true; }
const CandidateBaseRef& ShallowCloneCandidate::masterClone() const { return masterClone_; }
bool ShallowCloneCandidate::isElectron() const { return masterClone_->isElectron(); }
bool ShallowCloneCandidate::isMuon() const { return masterClone_->isMuon(); }
bool ShallowCloneCandidate::isGlobalMuon() const { return masterClone_->isGlobalMuon(); }
bool ShallowCloneCandidate::isStandAloneMuon() const { return masterClone_->isStandAloneMuon(); }
bool ShallowCloneCandidate::isTrackerMuon() const { return masterClone_->isTrackerMuon(); }
bool ShallowCloneCandidate::isCaloMuon() const { return masterClone_->isCaloMuon(); }
bool ShallowCloneCandidate::isPhoton() const { return masterClone_->isPhoton(); }
bool ShallowCloneCandidate::isConvertedPhoton() const { return masterClone_->isConvertedPhoton(); }
bool ShallowCloneCandidate::isJet() const { return masterClone_->isJet(); }
|