1 #ifndef HeavyFlavorAnalysis_RecoDecay_BPHRecoBuilder_h 2 #define HeavyFlavorAnalysis_RecoDecay_BPHRecoBuilder_h 69 virtual int size()
const = 0;
122 std::map<std::string, BPHDecayMomentum::Component>
daugMap;
123 std::map<std::string, BPHRecoConstCandPtr>
compMap;
127 std::vector<ComponentSet>
build()
const;
143 typedef std::vector<const reco::Candidate*>
rcpV;
183 mutable std::map<std::string, const reco::Candidate*>
daugMap;
184 mutable std::map<std::string, BPHRecoConstCandPtr>
compMap;
198 std::vector<const BPHMomentumSelect*>
msList;
199 std::vector<const BPHVertexSelect*>
vsList;
207 void build(std::vector<ComponentSet>& compList,
209 std::vector<BPHRecoSource*>::const_iterator r_iter,
210 std::vector<BPHRecoSource*>::const_iterator r_iend,
211 std::vector<BPHCompSource*>::const_iterator c_iter,
212 std::vector<BPHCompSource*>::const_iterator c_iend)
const;
244 std::vector<BPHRecoConstCandPtr>* compCandList =
new std::vector<BPHRecoConstCandPtr>(
n);
245 for (
i = 0;
i <
n; ++
i)
std::vector< const BPHRecoSelect * > selector
static bool sameTrack(const reco::Candidate *lCand, const reco::Candidate *rCand, double minPDifference)
void setMinPDiffererence(double pMin)
std::map< std::string, BPHRecoConstCandPtr > compMap
bool accept(const BPHRecoCandidate &cand) const
BPHGenericPtr< const BPHRecoCandidate >::type BPHRecoConstCandPtr
virtual ~BPHRecoBuilder()
std::vector< const BPHFitSelect * > fsList
BPHRecoBuilder(const BPHEventSetupWrapper &es)
const std::vector< BPHRecoConstCandPtr > * collection
std::map< std::string, BPHDecayMomentum::Component > daugMap
const BPHEventSetupWrapper * evSetup
BPHSpecificCollection(const T &c, const std::string &list)
BPHGenericCollection(const std::string &list)
std::vector< BPHCompSource * > srCompList
const BPHGenericCollection * collection
static BPHGenericCollection * createCollection(const edm::Handle< T > &collection, const std::string &list="cfhpmig")
std::vector< const BPHVertexSelect * > vsList
std::map< std::string, const reco::Candidate * > daugMap
const std::string & searchList() const
std::vector< const BPHFitSelect * > fitSelector
bool contained(ComponentSet &compSet, const reco::Candidate *cand) const
BPHRecoConstCandPtr getComp(const std::string &name) const
void filter(const std::string &name, const BPHRecoSelect &sel) const
std::vector< BPHRecoSource * > sourceList
virtual ~BPHGenericCollection()
std::vector< ComponentSet > build() const
build a set of combinations of particles fulfilling the selections
void add(const std::string &name, const BPHGenericCollection *collection, double mass=-1.0, double msig=-1.0)
BPHSpecificCollection(const BPHRecoBuilder::rcpV &c, const std::string &list)
int size() const override
std::vector< const reco::Candidate * > rcpV
const reco::Candidate * getDaug(const std::string &name) const
get simple or previously recontructed particle in current combination
virtual int size() const =0
std::vector< const BPHMomentumSelect * > momSelector
common object to interface with edm collections
const BPHEventSetupWrapper * eventSetup() const
get the EventSetup set in the constructor
BPHInterfaceCollection(const T &c, const std::string &list)
std::map< std::string, BPHRecoConstCandPtr > compMap
std::vector< const BPHMomentumSelect * > msList
std::vector< const BPHVertexSelect * > vtxSelector
std::set< const std::vector< BPHRecoConstCandPtr > * > compCollectList
~BPHInterfaceCollection() override
BPHRecoBuilder & operator=(const BPHRecoBuilder &x)=delete
std::map< std::string, int > srCompId
std::map< std::string, int > sourceId