1 #ifndef HeavyFlavorAnalysis_RecoDecay_BPHDecayMomentum_h 2 #define HeavyFlavorAnalysis_RecoDecay_BPHDecayMomentum_h 58 virtual const std::vector<std::string>&
daugNames()
const;
64 virtual const std::vector<std::string>&
compNames()
const;
71 virtual const std::vector<const reco::Candidate*>&
daughters()
const;
79 virtual const std::vector<const reco::Candidate*>&
daughFull()
const;
88 virtual const std::vector<BPHRecoConstCandPtr>&
daughComp()
const;
98 const std::map<std::string, const reco::Candidate*>&
daugMap()
const {
return dMap; }
100 const std::map<std::string, BPHRecoConstCandPtr>&
compMap()
const {
return cMap; }
114 const std::map<std::string, BPHRecoConstCandPtr>
compMap);
144 std::vector<const reco::Candidate*>
dList;
145 std::vector<BPHRecoConstCandPtr>
cList;
149 std::map<std::string, const reco::Candidate*>
dMap;
150 std::map<std::string, BPHRecoConstCandPtr>
cMap;
153 std::map<const reco::Candidate*, const reco::Candidate*>
clonesMap;
157 mutable std::vector<const reco::Candidate*>
dFull;
169 virtual void sumMomentum(
const std::vector<const reco::Candidate*>& dl,
const std::vector<std::string>& dn)
const;
173 virtual void fillDaug(std::vector<const reco::Candidate*>& ad,
175 std::vector<std::string>& an)
const;
virtual const reco::Candidate * originalReco(const reco::Candidate *daug) const
get the original particle from the clone
Analysis-level particle class.
const reco::Candidate * cand
std::vector< BPHRecoConstCandPtr > cList
virtual void computeMomentum() const
BPHGenericPtr< const BPHRecoCandidate >::type BPHRecoConstCandPtr
virtual ~BPHDecayMomentum()
const std::vector< Component > & componentList() const
std::map< std::string, const reco::Candidate * > dMap
virtual const std::vector< const reco::Candidate * > & daughFull() const
std::vector< const reco::Candidate * > dList
virtual const reco::Candidate * getDaug(const std::string &name) const
std::vector< Component > compList
BPHDecayMomentum & operator=(const BPHDecayMomentum &x)=delete
std::vector< const reco::Candidate * > dFull
BPHDecayMomentum(const BPHDecayMomentum &x)=delete
virtual void addP(const std::string &name, const reco::Candidate *daug, double mass=-1.0)
virtual void sumMomentum(const std::vector< const reco::Candidate *> &dl, const std::vector< std::string > &dn) const
const std::map< std::string, BPHRecoConstCandPtr > & compMap() const
virtual const std::vector< std::string > & compNames() const
virtual BPHRecoConstCandPtr getComp(const std::string &name) const
virtual const std::vector< BPHRecoConstCandPtr > & daughComp() const
void clonesList(const std::map< std::string, Component > &daugMap)
virtual void fillDaug(std::vector< const reco::Candidate *> &ad, const std::string &name, std::vector< std::string > &an) const
std::map< const reco::Candidate *, const reco::Candidate * > clonesMap
virtual const std::vector< std::string > & daugNames() const
virtual void setNotUpdated() const
pat::CompositeCandidate compCand
virtual void fill(BPHRecoCandidate *ptr, int level) const =0
const std::map< std::string, const reco::Candidate * > & daugMap() const
virtual const std::vector< const reco::Candidate * > & daughters() const
std::vector< std::string > nList
std::vector< std::string > nComp
std::map< std::string, BPHRecoConstCandPtr > cMap
virtual const pat::CompositeCandidate & composite() const
get a composite by the simple sum of simple particles