1 #ifndef HeavyFlavorAnalysis_SpecificDecay_BPHDecayToV0Builder_h 2 #define HeavyFlavorAnalysis_SpecificDecay_BPHDecayToV0Builder_h 59 const std::vector<reco::VertexCompositeCandidate>* v0Collection,
64 const std::vector<reco::VertexCompositePtrCandidate>* vpCollection,
77 std::vector<BPHPlusMinusConstCandPtr>
build();
89 std::vector<BPHPlusMinusConstCandPtr>
cList;
96 const std::vector<reco::VertexCompositeCandidate>*
vCollection;
97 const std::vector<reco::VertexCompositePtrCandidate>*
rCollection;
103 std::map<const BPHRecoCandidate*, const V0Info*>
v0Map;
BPHDecayToV0Builder(const edm::EventSetup &es, const std::string &d1Name, const std::string &d2Name, const BPHRecoBuilder::BPHGenericCollection *d1Collection, const BPHRecoBuilder::BPHGenericCollection *d2Collection)
~BPHDecayToV0Builder() override
std::vector< BPHPlusMinusConstCandPtr > build()
build candidates
BPHDecayToV0Builder & operator=(const BPHDecayToV0Builder &x)=delete
virtual void buildFromBPHGenericCollection()=0
build candidates and link to V0
const BPHRecoBuilder::BPHGenericCollection * p2Collection
void setEtaMax(double eta)
BPHGenericPtr< BPHPlusMinusCandidate >::type BPHPlusMinusCandidatePtr
std::map< const BPHRecoCandidate *, const V0Info * > v0Map
const BPHRecoBuilder::BPHGenericCollection * p1Collection
std::vector< BPHPlusMinusConstCandPtr > cList
const std::vector< reco::VertexCompositeCandidate > * vCollection
virtual BPHPlusMinusCandidatePtr buildCandidate(const reco::Candidate *c1, const reco::Candidate *c2, const void *v0, v0Type type)=0
void buildFromV0(const T *v0Collection, v0Type type)
const std::vector< reco::VertexCompositePtrCandidate > * rCollection
void setPtMin(double pt)
set cuts
double getPtMin() const
get current cuts