#include <BPHDecayToResTrkBuilderBase.h>
Public Member Functions | |
BPHDecayToResTrkBuilderBase (const BPHEventSetupWrapper &es, const std::string &resName, double resMass, double resWidth, const std::string &trkName, double trkMass, double trkSigma, const BPHRecoBuilder::BPHGenericCollection *trkCollection) | |
BPHDecayToResTrkBuilderBase (const BPHDecayToResTrkBuilderBase &x)=delete | |
double | getTrkEtaMax () const |
double | getTrkPtMin () const |
get current cuts More... | |
BPHDecayToResTrkBuilderBase & | operator= (const BPHDecayToResTrkBuilderBase &x)=delete |
void | setTrkEtaMax (double eta) |
void | setTrkPtMin (double pt) |
set cuts More... | |
~BPHDecayToResTrkBuilderBase () override | |
Public Member Functions inherited from BPHDecaySpecificBuilderBase | |
virtual | ~BPHDecaySpecificBuilderBase ()=default |
Public Member Functions inherited from BPHDecayConstrainedBuilderBase | |
BPHDecayConstrainedBuilderBase (const BPHEventSetupWrapper &es, const std::string &resName, double resMass, double resWidth) | |
BPHDecayConstrainedBuilderBase (const BPHDecayConstrainedBuilderBase &x)=delete | |
bool | getConstr () const |
BPHMassFitSelect * | getMassFitSelect () const |
double | getResMassMax () const |
double | getResMassMin () const |
get current cuts More... | |
BPHDecayConstrainedBuilderBase & | operator= (const BPHDecayConstrainedBuilderBase &x)=delete |
void | setConstr (bool flag) |
void | setMassFitSelect (BPHMassFitSelect *mfs) |
void | setResMassMax (double m) |
void | setResMassMin (double m) |
set cuts More... | |
void | setResMassRange (double mMin, double mMax) |
~BPHDecayConstrainedBuilderBase () override | |
Public Member Functions inherited from BPHDecayGenericBuilderBase | |
BPHDecayGenericBuilderBase () | |
BPHDecayGenericBuilderBase (const BPHEventSetupWrapper &es, BPHMassFitSelect *mfs=new BPHMassFitSelect(-2.0e+06, -1.0e+06)) | |
BPHDecayGenericBuilderBase (const BPHDecayGenericBuilderBase &x)=delete | |
double | getMassFitMax () const |
double | getMassFitMin () const |
double | getMassMax () const |
double | getMassMin () const |
get current cuts More... | |
double | getMinPDiff () |
double | getProbMin () const |
BPHDecayGenericBuilderBase & | operator= (const BPHDecayGenericBuilderBase &x)=delete |
void | setMassFitMax (double m) |
void | setMassFitMin (double m) |
void | setMassFitRange (double mMin, double mMax) |
void | setMassMax (double m) |
void | setMassMin (double m) |
set cuts More... | |
void | setMassRange (double mMin, double mMax) |
void | setMinPDiff (double mpd) |
track min p difference More... | |
void | setProbMin (double p) |
virtual | ~BPHDecayGenericBuilderBase () |
Protected Member Functions | |
BPHDecayToResTrkBuilderBase (const std::string &trkName, double trkMass, double trkSigma, const BPHRecoBuilder::BPHGenericCollection *trkCollection) | |
void | fill (BPHRecoBuilder &brb, void *parameters) override |
build candidates More... | |
Protected Member Functions inherited from BPHDecaySpecificBuilderBase | |
virtual void | setup (void *parameters)=0 |
Protected Member Functions inherited from BPHDecayConstrainedBuilderBase | |
virtual void | addResCollection (BPHRecoBuilder &brb)=0 |
BPHDecayConstrainedBuilderBase (const std::string &resName, double resMass, double resWidth, bool createFitSelObject=true) | |
BPHDecayConstrainedBuilderBase () | |
virtual BPHMassFitSelect * | massFitSelector (double mMin, double mMax) |
Protected Member Functions inherited from BPHDecayGenericBuilderBase | |
virtual void | fillRecList ()=0 |
Protected Attributes | |
BPHParticleEtaSelect * | etaSel |
BPHParticlePtSelect * | ptSel |
const BPHRecoBuilder::BPHGenericCollection * | tCollection |
BPHParticleNeutralVeto * | tknVeto |
double | tMass |
std::string | tName |
double | tSigma |
Protected Attributes inherited from BPHDecayConstrainedBuilderBase | |
bool | massConstr |
bool | mfSelForce |
BPHMassSelect * | resoSel |
double | rMass |
std::string | rName |
double | rWidth |
Protected Attributes inherited from BPHDecayGenericBuilderBase | |
BPHChi2Select * | chi2Sel |
const BPHEventSetupWrapper * | evSetup |
BPHMassSelect * | massSel |
BPHMassFitSelect * | mFitSel |
double | minPDiff |
bool | outdated |
Private Member Functions | |
void | swap (std::vector< const reco::Candidate *> *&l, std::vector< const reco::Candidate *> *&r) |
Static Private Member Functions | |
static void | filter (const std::vector< const reco::Candidate *> *s, std::vector< const reco::Candidate *> *d, BPHRecoSelect *f) |
Private Attributes | |
std::vector< const reco::Candidate * > | tCollectSel1 |
std::vector< const reco::Candidate * > | tCollectSel2 |
Description: Base class to build a particle decaying to a particle, decaying itself in cascade, and an additional track
Definition at line 41 of file BPHDecayToResTrkBuilderBase.h.
BPHDecayToResTrkBuilderBase::BPHDecayToResTrkBuilderBase | ( | const BPHEventSetupWrapper & | es, |
const std::string & | resName, | ||
double | resMass, | ||
double | resWidth, | ||
const std::string & | trkName, | ||
double | trkMass, | ||
double | trkSigma, | ||
const BPHRecoBuilder::BPHGenericCollection * | trkCollection | ||
) |
Constructor
|
delete |
|
override |
Destructor
Definition at line 67 of file BPHDecayToResTrkBuilderBase.cc.
References etaSel, ptSel, and tknVeto.
|
protected |
|
overrideprotectedvirtual |
build candidates
Implements BPHDecaySpecificBuilderBase.
Definition at line 91 of file BPHDecayToResTrkBuilderBase.cc.
References BPHRecoBuilder::add(), BPHDecayConstrainedBuilderBase::addResCollection(), BPHDecayGenericBuilderBase::chi2Sel, BPHRecoBuilder::createCollection(), etaSel, filter(), BPHRecoBuilder::filter(), BPHRecoBuilder::BPHGenericCollection::get(), BPHParticleEtaSelect::getEtaMax(), BPHMassCuts::getMassMax(), BPHChi2Select::getProbMin(), BPHParticlePtSelect::getPtMin(), mps_fire::i, BPHDecayGenericBuilderBase::massSel, BPHDecayGenericBuilderBase::mFitSel, BPHDecayGenericBuilderBase::minPDiff, create_idmaps::n, ptSel, BPHRecoBuilder::BPHGenericCollection::searchList(), BPHRecoBuilder::setMinPDiffererence(), BPHDecaySpecificBuilderBase::setup(), BPHRecoBuilder::BPHGenericCollection::size(), pfDeepBoostedJetPreprocessParams_cfi::sv, swap(), tCollection, tCollectSel1, tCollectSel2, tMass, tName, and tSigma.
|
inlinestaticprivate |
Definition at line 96 of file BPHDecayToResTrkBuilderBase.h.
References ztail::d, f, mps_fire::i, create_idmaps::n, and alignCSCRings::s.
Referenced by fill().
|
inline |
Definition at line 72 of file BPHDecayToResTrkBuilderBase.h.
References etaSel, and BPHParticleEtaSelect::getEtaMax().
Referenced by BPHBuToJPsiKBuilder::getKEtaMax(), BPHBuToPsi2SKBuilder::getKEtaMax(), and BPHBcToJPsiPiBuilder::getPiEtaMax().
|
inline |
get current cuts
Definition at line 71 of file BPHDecayToResTrkBuilderBase.h.
References BPHParticlePtSelect::getPtMin(), and ptSel.
Referenced by BPHBuToJPsiKBuilder::getKPtMin(), BPHBuToPsi2SKBuilder::getKPtMin(), and BPHBcToJPsiPiBuilder::getPiPtMin().
|
delete |
void BPHDecayToResTrkBuilderBase::setTrkEtaMax | ( | double | eta | ) |
Definition at line 84 of file BPHDecayToResTrkBuilderBase.cc.
References PVValHelper::eta, etaSel, BPHDecayGenericBuilderBase::outdated, and BPHParticleEtaSelect::setEtaMax().
Referenced by BPHBcToJPsiPiBuilder::BPHBcToJPsiPiBuilder(), BPHBuToJPsiKBuilder::BPHBuToJPsiKBuilder(), BPHBuToPsi2SKBuilder::BPHBuToPsi2SKBuilder(), BPHBuToJPsiKBuilder::setKEtaMax(), BPHBuToPsi2SKBuilder::setKEtaMax(), and BPHBcToJPsiPiBuilder::setPiEtaMax().
void BPHDecayToResTrkBuilderBase::setTrkPtMin | ( | double | pt | ) |
set cuts
Operations
Definition at line 78 of file BPHDecayToResTrkBuilderBase.cc.
References BPHDecayGenericBuilderBase::outdated, DiDispStaMuonMonitor_cfi::pt, ptSel, and BPHParticlePtSelect::setPtMin().
Referenced by BPHBcToJPsiPiBuilder::BPHBcToJPsiPiBuilder(), BPHBuToJPsiKBuilder::BPHBuToJPsiKBuilder(), BPHBuToPsi2SKBuilder::BPHBuToPsi2SKBuilder(), and BPHBuToPsi2SKBuilder::setKPtMin().
|
inlineprivate |
Definition at line 108 of file BPHDecayToResTrkBuilderBase.h.
References MainPageGenerator::l, alignCSCRings::r, and submitPVValidationJobs::t.
Referenced by fill().
|
protected |
Definition at line 88 of file BPHDecayToResTrkBuilderBase.h.
Referenced by fill(), getTrkEtaMax(), setTrkEtaMax(), and ~BPHDecayToResTrkBuilderBase().
|
protected |
Definition at line 87 of file BPHDecayToResTrkBuilderBase.h.
Referenced by fill(), getTrkPtMin(), setTrkPtMin(), and ~BPHDecayToResTrkBuilderBase().
|
protected |
Definition at line 84 of file BPHDecayToResTrkBuilderBase.h.
Referenced by fill().
|
private |
Definition at line 94 of file BPHDecayToResTrkBuilderBase.h.
Referenced by fill().
|
private |
Definition at line 95 of file BPHDecayToResTrkBuilderBase.h.
Referenced by fill().
|
protected |
Definition at line 86 of file BPHDecayToResTrkBuilderBase.h.
Referenced by ~BPHDecayToResTrkBuilderBase().
|
protected |
Definition at line 81 of file BPHDecayToResTrkBuilderBase.h.
Referenced by fill().
|
protected |
Definition at line 80 of file BPHDecayToResTrkBuilderBase.h.
Referenced by fill().
|
protected |
Definition at line 82 of file BPHDecayToResTrkBuilderBase.h.
Referenced by fill().