Go to the documentation of this file.
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 setProbMin(double p)
set prob min
void setMassMax(double m)
BPHMassFitSelect * flySel
void filter(const std::string &name, const BPHRecoSelect &sel) const
void setFlyingMassMax(double m)
const std::vector< BPHPlusMinusConstCandPtr > * fCollection
const std::vector< BPHPlusMinusConstCandPtr > * rCollection
void setFlyingMassMin(double m)
set cuts
void setMinPDiffererence(double pMin)
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 setMassMin(double m)
set mass cuts
const edm::EventSetup * evSetup
bool accept(const BPHKinematicFit &cand) const override
select vertex
void setKinFitProbMin(double p)
double getProbMin() const
get current prob min
virtual const RefCountedKinematicVertex topDecayVertex() const
BPHKinFitChi2Select * kfChi2Sel
std::vector< BPHRecoConstCandPtr > build()
build candidates
BPHMassFitSelect * mFitSel
double getMassMax() const
std::map< const BPHRecoCandidate *, const BPHRecoCandidate * > dMap
static std::vector< BPHRecoConstCandPtr > build(const BPHRecoBuilder &builder, double mass=-1, double msig=-1)
~BPHDecayToResFlyingBuilder() override
std::vector< BPHRecoConstCandPtr > recList
virtual void resetKinematicFit() const
reset the kinematic fit
virtual BPHRecoCandidate * clone(int level=-1) const
void add(const std::string &name, const BPHGenericCollection *collection, double mass=-1.0, double msig=-1.0)
void setFlyingMassRange(double mMin, double mMax)
bool accept(const BPHKinematicFit &cand) const override
select particle
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
BPHGenericPtr< const BPHRecoCandidate >::type BPHRecoConstCandPtr