1 #ifndef HeavyFlavorAnalysis_RecoDecay_BPHDecayMomentum_h 2 #define HeavyFlavorAnalysis_RecoDecay_BPHDecayMomentum_h 57 virtual const std::vector<std::string>&
daugNames()
const;
63 virtual const std::vector<std::string>&
compNames()
const;
70 virtual const std::vector<const reco::Candidate*>&
daughters()
const;
78 virtual const std::vector<const reco::Candidate*>&
daughFull()
const;
87 virtual const std::vector<BPHRecoConstCandPtr>&
daughComp()
const;
109 const std::map<std::string, BPHRecoConstCandPtr> compMap);
135 std::vector<const reco::Candidate*>
dList;
136 std::vector<BPHRecoConstCandPtr>
cList;
140 std::map<std::string, const reco::Candidate*>
dMap;
141 std::map<std::string, BPHRecoConstCandPtr>
cMap;
144 std::map<const reco::Candidate*, const reco::Candidate*>
clonesMap;
148 mutable std::vector<const reco::Candidate*>
dFull;
152 void clonesList(
const std::map<std::string, Component>& daugMap);
160 virtual void sumMomentum(
const std::vector<const reco::Candidate*> dl)
const;
164 virtual void fillDaug(std::vector<const reco::Candidate*>& ad)
const;
Analysis-level particle class.
const reco::Candidate * cand
std::vector< BPHRecoConstCandPtr > cList
virtual void sumMomentum(const std::vector< const reco::Candidate * > dl) const
BPHGenericPtr< const BPHRecoCandidate >::type BPHRecoConstCandPtr
virtual void setNotUpdated() const
virtual void computeMomentum() const
virtual ~BPHDecayMomentum()
std::map< std::string, const reco::Candidate * > dMap
virtual const std::vector< const reco::Candidate * > & daughters() const
std::vector< const reco::Candidate * > dList
const std::vector< Component > & componentList() const
std::vector< Component > compList
std::vector< const reco::Candidate * > dFull
virtual void addP(const std::string &name, const reco::Candidate *daug, double mass=-1.0)
virtual void fillDaug(std::vector< const reco::Candidate * > &ad) const
virtual const reco::Candidate * originalReco(const reco::Candidate *daug) const
get the original particle from the clone
virtual const pat::CompositeCandidate & composite() const
get a composite by the simple sum of simple particles
void clonesList(const std::map< std::string, Component > &daugMap)
std::map< const reco::Candidate *, const reco::Candidate * > clonesMap
pat::CompositeCandidate compCand
virtual BPHRecoConstCandPtr getComp(const std::string &name) const
virtual const std::vector< BPHRecoConstCandPtr > & daughComp() const
virtual const std::vector< const reco::Candidate * > & daughFull() const
virtual const std::vector< std::string > & compNames() const
std::vector< std::string > nList
virtual const std::vector< std::string > & daugNames() const
virtual const reco::Candidate * getDaug(const std::string &name) const
std::vector< std::string > nComp
std::map< std::string, BPHRecoConstCandPtr > cMap