#include <BPHDecayToResResBuilder.h>
Public Member Functions | |
BPHDecayToResResBuilder (const edm::EventSetup &es, const std::string &res1Name, double res1Mass, double res1Width, const std::vector< BPHPlusMinusConstCandPtr > &res1Collection, const std::string &res2Name, const std::vector< BPHPlusMinusConstCandPtr > &res2Collection) | |
BPHDecayToResResBuilder (const BPHDecayToResResBuilder &x)=delete | |
std::vector< BPHRecoConstCandPtr > | build () |
build candidates More... | |
double | getRes1MassMax () const |
double | getRes1MassMin () const |
get current cuts More... | |
double | getRes2MassMax () const |
double | getRes2MassMin () const |
BPHDecayToResResBuilder & | operator= (const BPHDecayToResResBuilder &x)=delete |
void | setRes1MassMax (double m) |
void | setRes1MassMin (double m) |
set cuts More... | |
void | setRes1MassRange (double mMin, double mMax) |
void | setRes2MassMax (double m) |
void | setRes2MassMin (double m) |
set cuts More... | |
void | setRes2MassRange (double mMin, double mMax) |
~BPHDecayToResResBuilder () override | |
Public Member Functions inherited from BPHDecayConstrainedBuilder | |
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 () |
Private Attributes | |
std::vector< BPHRecoConstCandPtr > | recList |
BPHMassSelect * | res2Sel |
const std::vector < BPHPlusMinusConstCandPtr > * | sCollection |
std::string | sName |
Additional Inherited Members | |
Protected Attributes inherited from BPHDecayConstrainedBuilder | |
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 two resonances, decaying themselves to an opposite charged particles pair
Definition at line 37 of file BPHDecayToResResBuilder.h.
BPHDecayToResResBuilder::BPHDecayToResResBuilder | ( | const edm::EventSetup & | es, |
const std::string & | res1Name, | ||
double | res1Mass, | ||
double | res1Width, | ||
const std::vector< BPHPlusMinusConstCandPtr > & | res1Collection, | ||
const std::string & | res2Name, | ||
const std::vector< BPHPlusMinusConstCandPtr > & | res2Collection | ||
) |
Constructor
Definition at line 32 of file BPHDecayToResResBuilder.cc.
|
delete |
|
override |
vector< BPHRecoConstCandPtr > BPHDecayToResResBuilder::build | ( | ) |
build candidates
Operations
Definition at line 52 of file BPHDecayToResResBuilder.cc.
References BPHRecoBuilder::add(), BPHRecoCandidate::build(), BPHDecayGenericBuilder::chi2Sel, BPHDecayGenericBuilder::evSetup, BPHRecoBuilder::filter(), BPHMassCuts::getMassMax(), BPHChi2Select::getProbMin(), BPHDecayGenericBuilder::massSel, BPHDecayGenericBuilder::mFitSel, BPHDecayGenericBuilder::minPDiff, BPHDecayConstrainedBuilder::rCollection, recList, res2Sel, BPHDecayConstrainedBuilder::resoSel, BPHDecayConstrainedBuilder::rName, sCollection, BPHRecoBuilder::setMinPDiffererence(), sName, and BPHDecayGenericBuilder::updated.
Referenced by BPHWriteSpecificDecay::fill().
|
inline |
Definition at line 72 of file BPHDecayToResResBuilder.h.
References BPHDecayConstrainedBuilder::getResMassMax().
Referenced by BPHBdToJPsiKxBuilder::getJPsiMassMax(), and BPHBsToJPsiPhiBuilder::getJPsiMassMax().
|
inline |
get current cuts
Definition at line 71 of file BPHDecayToResResBuilder.h.
References BPHDecayConstrainedBuilder::getResMassMin().
Referenced by BPHBdToJPsiKxBuilder::getJPsiMassMin(), and BPHBsToJPsiPhiBuilder::getJPsiMassMin().
|
inline |
Definition at line 74 of file BPHDecayToResResBuilder.h.
References BPHMassCuts::getMassMax(), and res2Sel.
Referenced by BPHBdToJPsiKxBuilder::getKxMassMax(), and BPHBsToJPsiPhiBuilder::getPhiMassMax().
|
inline |
Definition at line 73 of file BPHDecayToResResBuilder.h.
References BPHMassCuts::getMassMin(), and res2Sel.
Referenced by BPHBdToJPsiKxBuilder::getKxMassMin(), and BPHBsToJPsiPhiBuilder::getPhiMassMin().
|
delete |
|
inline |
Definition at line 64 of file BPHDecayToResResBuilder.h.
References BPHDecayConstrainedBuilder::setResMassMax().
Referenced by BPHBdToJPsiKxBuilder::setJPsiMassMax(), and BPHBsToJPsiPhiBuilder::setJPsiMassMax().
|
inline |
set cuts
Definition at line 63 of file BPHDecayToResResBuilder.h.
References BPHDecayConstrainedBuilder::setResMassMin().
|
inline |
Definition at line 65 of file BPHDecayToResResBuilder.h.
References BPHDecayConstrainedBuilder::setResMassRange().
Referenced by BPHBdToJPsiKxBuilder::BPHBdToJPsiKxBuilder(), and BPHBsToJPsiPhiBuilder::BPHBsToJPsiPhiBuilder().
void BPHDecayToResResBuilder::setRes2MassMax | ( | double | m | ) |
Definition at line 84 of file BPHDecayToResResBuilder.cc.
References res2Sel, BPHMassCuts::setMassMax(), and BPHDecayGenericBuilder::updated.
Referenced by BPHBdToJPsiKxBuilder::setKxMassMax(), and BPHBsToJPsiPhiBuilder::setPhiMassMax().
void BPHDecayToResResBuilder::setRes2MassMin | ( | double | m | ) |
set cuts
Definition at line 78 of file BPHDecayToResResBuilder.cc.
References res2Sel, BPHMassCuts::setMassMin(), and BPHDecayGenericBuilder::updated.
Referenced by BPHBdToJPsiKxBuilder::setKxMassMin(), and BPHBsToJPsiPhiBuilder::setPhiMassMin().
void BPHDecayToResResBuilder::setRes2MassRange | ( | double | mMin, |
double | mMax | ||
) |
Definition at line 90 of file BPHDecayToResResBuilder.cc.
References res2Sel, BPHMassCuts::setMassMax(), BPHMassCuts::setMassMin(), and BPHDecayGenericBuilder::updated.
Referenced by BPHBdToJPsiKxBuilder::BPHBdToJPsiKxBuilder(), and BPHBsToJPsiPhiBuilder::BPHBsToJPsiPhiBuilder().
|
private |
Definition at line 83 of file BPHDecayToResResBuilder.h.
Referenced by build().
|
private |
Definition at line 81 of file BPHDecayToResResBuilder.h.
Referenced by build(), getRes2MassMax(), getRes2MassMin(), setRes2MassMax(), setRes2MassMin(), setRes2MassRange(), and ~BPHDecayToResResBuilder().
|
private |
Definition at line 79 of file BPHDecayToResResBuilder.h.
Referenced by build().
|
private |
Definition at line 77 of file BPHDecayToResResBuilder.h.
Referenced by build().