#include <BPHDecayConstrainedBuilder.h>
Public Member Functions | |
BPHDecayConstrainedBuilder (const edm::EventSetup &es, const std::string &resName, double resMass, double resWidth, const std::vector< BPHPlusMinusConstCandPtr > &resCollection) | |
BPHDecayConstrainedBuilder (const BPHDecayConstrainedBuilder &x)=delete | |
bool | getConstr () const |
double | getResMassMax () const |
double | getResMassMin () const |
get current cuts More... | |
BPHDecayConstrainedBuilder & | operator= (const BPHDecayConstrainedBuilder &x)=delete |
void | setConstr (bool flag) |
void | setResMassMax (double m) |
void | setResMassMin (double m) |
set cuts More... | |
void | setResMassRange (double mMin, double mMax) |
~BPHDecayConstrainedBuilder () override | |
Public Member Functions inherited from BPHDecayGenericBuilder | |
BPHDecayGenericBuilder (const edm::EventSetup &es, BPHMassFitSelect *mfs=nullptr) | |
BPHDecayGenericBuilder (const BPHDecayGenericBuilder &x)=delete | |
double | getMassFitMax () const |
double | getMassFitMin () const |
double | getMassMax () const |
double | getMassMin () const |
get current cuts More... | |
double | getMinPDiff () |
double | getProbMin () const |
BPHDecayGenericBuilder & | operator= (const BPHDecayGenericBuilder &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 | ~BPHDecayGenericBuilder () |
Protected Attributes | |
bool | massConstr |
const std::vector < BPHPlusMinusConstCandPtr > * | rCollection |
BPHMassSelect * | resoSel |
double | rMass |
std::string | rName |
double | rWidth |
Protected Attributes inherited from BPHDecayGenericBuilder | |
BPHChi2Select * | chi2Sel |
const edm::EventSetup * | evSetup |
BPHMassSelect * | massSel |
BPHMassFitSelect * | mFitSel |
double | minPDiff |
bool | updated |
Description: Class to build a particle decaying to a resonance, decaying itself to an opposite charged particles pair, applying a mass constraint
Definition at line 37 of file BPHDecayConstrainedBuilder.h.
BPHDecayConstrainedBuilder::BPHDecayConstrainedBuilder | ( | const edm::EventSetup & | es, |
const std::string & | resName, | ||
double | resMass, | ||
double | resWidth, | ||
const std::vector< BPHPlusMinusConstCandPtr > & | resCollection | ||
) |
Constructor
Definition at line 32 of file BPHDecayConstrainedBuilder.cc.
|
delete |
|
override |
Destructor
Definition at line 48 of file BPHDecayConstrainedBuilder.cc.
References resoSel.
|
inline |
|
inline |
Definition at line 65 of file BPHDecayConstrainedBuilder.h.
References BPHMassCuts::getMassMax(), and resoSel.
Referenced by BPHBdToJPsiKsBuilder::getJPsiMassMax(), BPHLbToJPsiL0Builder::getJPsiMassMax(), BPHBuToJPsiKBuilder::getJPsiMassMax(), BPHBcToJPsiPiBuilder::getJPsiMassMax(), and BPHDecayToResResBuilder::getRes1MassMax().
|
inline |
get current cuts
Definition at line 64 of file BPHDecayConstrainedBuilder.h.
References BPHMassCuts::getMassMin(), and resoSel.
Referenced by BPHBdToJPsiKsBuilder::getJPsiMassMin(), BPHLbToJPsiL0Builder::getJPsiMassMin(), BPHBuToJPsiKBuilder::getJPsiMassMin(), BPHBcToJPsiPiBuilder::getJPsiMassMin(), and BPHDecayToResResBuilder::getRes1MassMin().
|
delete |
void BPHDecayConstrainedBuilder::setConstr | ( | bool | flag | ) |
Definition at line 73 of file BPHDecayConstrainedBuilder.cc.
References BPHMassCuts::getMassMax(), BPHMassCuts::getMassMin(), massConstr, BPHDecayGenericBuilder::mFitSel, rMass, rName, rWidth, and BPHDecayGenericBuilder::updated.
Referenced by BPHBcToJPsiPiBuilder::BPHBcToJPsiPiBuilder(), BPHBdToJPsiKsBuilder::BPHBdToJPsiKsBuilder(), BPHBdToJPsiKxBuilder::BPHBdToJPsiKxBuilder(), BPHBsToJPsiPhiBuilder::BPHBsToJPsiPhiBuilder(), BPHBuToJPsiKBuilder::BPHBuToJPsiKBuilder(), BPHLbToJPsiL0Builder::BPHLbToJPsiL0Builder(), and BPHWriteSpecificDecay::fill().
void BPHDecayConstrainedBuilder::setResMassMax | ( | double | m | ) |
Definition at line 60 of file BPHDecayConstrainedBuilder.cc.
References resoSel, BPHMassCuts::setMassMax(), and BPHDecayGenericBuilder::updated.
Referenced by BPHBdToJPsiKsBuilder::setJPsiMassMax(), BPHLbToJPsiL0Builder::setJPsiMassMax(), BPHBuToJPsiKBuilder::setJPsiMassMax(), BPHBcToJPsiPiBuilder::setJPsiMassMax(), and BPHDecayToResResBuilder::setRes1MassMax().
void BPHDecayConstrainedBuilder::setResMassMin | ( | double | m | ) |
set cuts
Operations
Definition at line 54 of file BPHDecayConstrainedBuilder.cc.
References resoSel, BPHMassCuts::setMassMin(), and BPHDecayGenericBuilder::updated.
Referenced by BPHBuToJPsiKBuilder::setJPsiMassMin(), BPHBcToJPsiPiBuilder::setJPsiMassMin(), and BPHDecayToResResBuilder::setRes1MassMin().
void BPHDecayConstrainedBuilder::setResMassRange | ( | double | mMin, |
double | mMax | ||
) |
Definition at line 66 of file BPHDecayConstrainedBuilder.cc.
References resoSel, BPHMassCuts::setMassMax(), BPHMassCuts::setMassMin(), and BPHDecayGenericBuilder::updated.
Referenced by BPHBcToJPsiPiBuilder::BPHBcToJPsiPiBuilder(), BPHBdToJPsiKsBuilder::BPHBdToJPsiKsBuilder(), BPHBuToJPsiKBuilder::BPHBuToJPsiKBuilder(), BPHLbToJPsiL0Builder::BPHLbToJPsiL0Builder(), and BPHDecayToResResBuilder::setRes1MassRange().
|
protected |
Definition at line 77 of file BPHDecayConstrainedBuilder.h.
Referenced by getConstr(), and setConstr().
|
protected |
Definition at line 73 of file BPHDecayConstrainedBuilder.h.
Referenced by BPHDecayToResResBuilder::build(), BPHDecayToResFlyingBuilder::build(), and BPHDecayToResTrkBuilder::build().
|
protected |
Definition at line 75 of file BPHDecayConstrainedBuilder.h.
Referenced by BPHDecayToResResBuilder::build(), BPHDecayToResFlyingBuilder::build(), BPHDecayToResTrkBuilder::build(), getResMassMax(), getResMassMin(), setResMassMax(), setResMassMin(), setResMassRange(), and ~BPHDecayConstrainedBuilder().
|
protected |
Definition at line 70 of file BPHDecayConstrainedBuilder.h.
Referenced by setConstr().
|
protected |
Definition at line 69 of file BPHDecayConstrainedBuilder.h.
Referenced by BPHDecayToResResBuilder::build(), BPHDecayToResFlyingBuilder::build(), BPHDecayToResTrkBuilder::build(), and setConstr().
|
protected |
Definition at line 71 of file BPHDecayConstrainedBuilder.h.
Referenced by setConstr().