|
|
Go to the documentation of this file. 1 #ifndef HeavyFlavorAnalysis_RecoDecay_BPHDecayMomentum_h
2 #define HeavyFlavorAnalysis_RecoDecay_BPHDecayMomentum_h
60 virtual const std::vector<std::string>&
daugNames()
const;
66 virtual const std::vector<std::string>&
compNames()
const;
73 virtual const std::vector<const reco::Candidate*>&
daughters()
const;
81 virtual const std::vector<const reco::Candidate*>&
daughFull()
const;
90 virtual const std::vector<BPHRecoConstCandPtr>&
daughComp()
const;
112 const std::map<std::string, BPHRecoConstCandPtr> compMap);
142 std::vector<const reco::Candidate*>
dList;
143 std::vector<BPHRecoConstCandPtr>
cList;
147 std::map<std::string, const reco::Candidate*>
dMap;
148 std::map<std::string, BPHRecoConstCandPtr>
cMap;
151 std::map<const reco::Candidate*, const reco::Candidate*>
clonesMap;
155 mutable std::vector<const reco::Candidate*>
dFull;
159 void clonesList(
const std::map<std::string, Component>& daugMap);
167 virtual void sumMomentum(
const std::vector<const reco::Candidate*> dl)
const;
171 virtual void fillDaug(std::vector<const reco::Candidate*>& ad)
const;
virtual const std::vector< BPHRecoConstCandPtr > & daughComp() const
virtual void addP(const std::string &name, const reco::Candidate *daug, double mass=-1.0)
virtual const pat::CompositeCandidate & composite() const
get a composite by the simple sum of simple particles
Analysis-level particle class.
std::map< std::string, BPHRecoConstCandPtr > cMap
virtual const reco::Candidate * getDaug(const std::string &name) const
std::vector< Component > compList
virtual void sumMomentum(const std::vector< const reco::Candidate * > dl) const
virtual void computeMomentum() const
std::vector< const reco::Candidate * > dList
virtual void fill(BPHRecoCandidate *ptr, int level) const =0
virtual void fillDaug(std::vector< const reco::Candidate * > &ad) const
BPHDecayMomentum & operator=(const BPHDecayMomentum &x)=delete
std::map< const reco::Candidate *, const reco::Candidate * > clonesMap
const reco::Candidate * cand
virtual BPHRecoConstCandPtr getComp(const std::string &name) const
std::vector< std::string > nComp
virtual void setNotUpdated() const
std::vector< const reco::Candidate * > dFull
std::vector< std::string > nList
virtual const std::vector< std::string > & compNames() const
virtual const reco::Candidate * originalReco(const reco::Candidate *daug) const
get the original particle from the clone
virtual const std::vector< const reco::Candidate * > & daughFull() const
void clonesList(const std::map< std::string, Component > &daugMap)
virtual const std::vector< const reco::Candidate * > & daughters() const
virtual const std::vector< std::string > & daugNames() const
const std::vector< Component > & componentList() const
std::map< std::string, const reco::Candidate * > dMap
std::vector< BPHRecoConstCandPtr > cList
pat::CompositeCandidate compCand
BPHGenericPtr< const BPHRecoCandidate >::type BPHRecoConstCandPtr
virtual ~BPHDecayMomentum()