48 pCollection( posCollection ),
49 nCollection( negCollection ) {
86 vector<BPHPlusMinusConstCandPtr>
90 int nkx = tmpList.size();
94 for ( ikx = 0; ikx < nkx; ++ikx ) {
BPHKx0ToKPiBuilder(const edm::EventSetup &es, const BPHRecoBuilder::BPHGenericCollection *posCollection, const BPHRecoBuilder::BPHGenericCollection *negCollection)
static std::vector< BPHPlusMinusConstCandPtr > build(const BPHRecoBuilder &builder, const std::string &nPos, const std::string &nNeg, double mass=-1, double msig=-1)
double getConstrSigma() const
std::vector< BPHPlusMinusConstCandPtr > kx0List
void setMassMax(double m)
static const double kaonMass
virtual double mass() const final
mass
const BPHRecoBuilder::BPHGenericCollection * pCollection
virtual const pat::CompositeCandidate & composite() const
get a composite by the simple sum of simple particles
BPHGenericPtr< BPHPlusMinusCandidate >::type BPHPlusMinusCandidatePtr
void setMassMin(double m)
void setProbMin(double p)
void setPtMin(double pt)
set cuts
virtual bool accept(const BPHDecayMomentum &cand) const
select particle
virtual ~BPHKx0ToKPiBuilder()
void setPtMin(double pt)
set pt min
BPHParticleEtaSelect * etaSel
double getPtMin() const
get current cuts
BPHGenericPtr< const BPHPlusMinusCandidate >::type BPHPlusMinusConstCandPtr
double getPtMin() const
get current pt min
void setProbMin(double p)
set prob min
static const double kx0Mass
static const double pionMSigma
void setEtaMax(double eta)
double getMassMax() const
const edm::EventSetup * evSetup
virtual void add(const std::string &name, const reco::Candidate *daug, double mass=-1.0, double sigma=-1.0)
virtual bool accept(const BPHDecayVertex &cand) const
select vertex
void setEtaMax(double eta)
set eta max
double getProbMin() const
get current prob min
virtual const reco::Candidate * originalReco(const reco::Candidate *daug) const
get the original particle from the clone
double getProbMin() const
static const double pionMass
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
double getMassMin() const
get current mass cuts
const BPHRecoBuilder::BPHGenericCollection * nCollection
static const double kaonMSigma
void filter(const std::string &name, const BPHRecoSelect &sel) const
double getMassMin() const
double getEtaMax() const
get current eta max
void setMassMax(double m)
virtual const reco::Candidate * getDaug(const std::string &name) const
BPHParticlePtSelect * ptSel
void setConstr(double mass, double sigma)
double getConstrMass() const
std::vector< BPHPlusMinusConstCandPtr > build()
build Phi candidates