35 const string& resName,
38 const string& trkName,
47 tCollection(trkCollection),
59 tCollection(trkCollection),
98 for (
i = 0;
i <
n; ++
i) {
100 if (
cand.charge() != 0)
double getProbMin() const
get current prob min
virtual void addResCollection(BPHRecoBuilder &brb)=0
void setMinPDiffererence(double pMin)
BPHMassFitSelect * mFitSel
~BPHDecayToResTrkBuilderBase() override
double getPtMin() const
get current pt min
BPHParticlePtSelect * ptSel
BPHDecayToResTrkBuilderBase(const BPHEventSetupWrapper &es, const std::string &resName, double resMass, double resWidth, const std::string &trkName, double trkMass, double trkSigma, const BPHRecoBuilder::BPHGenericCollection *trkCollection)
BPHParticleNeutralVeto * tknVeto
void fill(BPHRecoBuilder &brb, void *parameters) override
build candidates
void setPtMin(double pt)
set pt min
static BPHGenericCollection * createCollection(const edm::Handle< T > &collection, const std::string &list="cfhpmig")
const std::string & searchList() const
void filter(const std::string &name, const BPHRecoSelect &sel) const
virtual const reco::Candidate & get(int i) const =0
void setEtaMax(double eta)
set eta max
double getMassMax() const
void setTrkEtaMax(double eta)
const BPHRecoBuilder::BPHGenericCollection * tCollection
static void filter(const std::vector< const reco::Candidate *> *s, std::vector< const reco::Candidate *> *d, BPHRecoSelect *f)
void add(const std::string &name, const BPHGenericCollection *collection, double mass=-1.0, double msig=-1.0)
std::vector< const reco::Candidate * > tCollectSel2
virtual int size() const =0
virtual void setup(void *parameters)=0
void swap(std::vector< const reco::Candidate *> *&l, std::vector< const reco::Candidate *> *&r)
common object to interface with edm collections
void setTrkPtMin(double pt)
set cuts
std::vector< const reco::Candidate * > tCollectSel1
BPHParticleEtaSelect * etaSel
double getEtaMax() const
get current eta max