36 const std::vector<BPHPlusMinusConstCandPtr>& resCollection,
40 const std::vector<BPHPlusMinusConstCandPtr>& flyCollection)
45 fCollection(&flyCollection),
84 int nRec = tmpList.size();
86 for (iRec = 0; iRec < nRec; ++iRec) {
void setMinPDiffererence(double pMin)
BPHKinFitChi2Select * kfChi2Sel
void setMassMax(double m)
std::vector< BPHRecoConstCandPtr > build()
build candidates
void setFlyingMassMax(double m)
BPHGenericPtr< const BPHRecoCandidate >::type BPHRecoConstCandPtr
void setFlyingMassMin(double m)
set cuts
BPHDecayToResFlyingBuilder(const edm::EventSetup &es, const std::string &resName, double resMass, double resWidth, const std::vector< BPHPlusMinusConstCandPtr > &resCollection, const std::string &flyName, double flyMass, double flyMSigma, const std::vector< BPHPlusMinusConstCandPtr > &flyCollection)
void setKinFitProbMin(double p)
bool accept(const BPHKinematicFit &cand) const override
select vertex
void setIndependentFit(const std::string &name, bool flag=true, double mass=-1.0, double sigma=-1.0)
set a decaying daughter as an unique particle fitted independently
double getProbMin() const
get current prob min
~BPHDecayToResFlyingBuilder() override
static std::vector< BPHRecoConstCandPtr > build(const BPHRecoBuilder &builder, double mass=-1, double msig=-1)
std::map< const BPHRecoCandidate *, const BPHRecoCandidate * > dMap
std::vector< BPHRecoConstCandPtr > recList
const std::vector< BPHPlusMinusConstCandPtr > * rCollection
virtual void resetKinematicFit() const
reset the kinematic fit
void setMassMin(double m)
set mass cuts
void add(const std::string &name, const BPHGenericCollection *collection, double mass=-1.0, double msig=-1.0)
double getMassMax() const
virtual BPHRecoCandidate * clone(int level=-1) const
virtual const RefCountedKinematicVertex topDecayVertex() const
void filter(const std::string &name, const BPHRecoSelect &sel) const
BPHMassFitSelect * flySel
void setProbMin(double p)
set prob min
void setFlyingMassRange(double mMin, double mMax)
bool accept(const BPHKinematicFit &cand) const override
select particle
BPHMassFitSelect * mFitSel
const std::vector< BPHPlusMinusConstCandPtr > * fCollection
const edm::EventSetup * evSetup