Go to the documentation of this file.
49 expMass(expectedMass) {}
58 const std::vector<reco::VertexCompositeCandidate>* v0Collection,
66 expMass(expectedMass) {}
76 const std::vector<reco::VertexCompositePtrCandidate>* vpCollection,
84 expMass(expectedMass) {}
125 mv0 = static_cast<const reco::VertexCompositeCandidate*>(
v0)->mass();
128 mv0 = static_cast<const reco::VertexCompositePtrCandidate*>(
v0)->mass();
145 if ((m1 > mcut) && (m2 < mcut))
147 if ((m1 < mcut) && (m2 > mcut))
150 return (fabs(mv0 - cptrX->
mass()) < fabs(mv0 - cptrY->
mass()) ? candX : candY);
BPHDecayToV0DiffMassBuilder(const edm::EventSetup &es, const std::string &d1Name, double d1Mass, double d1Sigma, const std::string &d2Name, double d2Mass, double d2Sigma, const BPHRecoBuilder::BPHGenericCollection *posCollection, const BPHRecoBuilder::BPHGenericCollection *negCollection, double expectedMass)
double getMassMax() const
virtual double mass() const =0
mass
BPHGenericPtr< BPHPlusMinusCandidate >::type BPHPlusMinusCandidatePtr
~BPHDecayToV0DiffMassBuilder() override
double getProbMin() const
BPHPlusMinusCandidatePtr buildCandidate(const reco::Candidate *c1, const reco::Candidate *c2, const void *v0, v0Type type) override
const edm::EventSetup * evSetup
const BPHRecoBuilder::BPHGenericCollection * p1Collection
const BPHRecoBuilder::BPHGenericCollection * p2Collection
virtual ParticleMass mass() const
std::vector< BPHPlusMinusConstCandPtr > cList
void add(const std::string &name, const reco::Candidate *daug, double mass=-1.0, double sigma=-1.0) override
void buildFromBPHGenericCollection() override
build candidates and link to V0
static type create(Args &&... args)
double getMassMin() const
get current cuts