#include <BPHDecayToResFlyingBuilder.h>
Public Member Functions | |
BPHDecayToResFlyingBuilder (const edm::EventSetup &es, const std::string &resName, double resMass, double resWidth, const std::vector< BPHPlusMinusConstCandPtr > &resCollection, const std::string &flyName, double flyMass, double flyMSigma, const std::vector< BPHPlusMinusConstCandPtr > &flyCollection) | |
BPHDecayToResFlyingBuilder (const BPHDecayToResFlyingBuilder &x)=delete | |
std::vector< BPHRecoConstCandPtr > | build () |
build candidates More... | |
const std::map< const BPHRecoCandidate *, const BPHRecoCandidate * > & | daughMap () const |
get original daughters map More... | |
double | getFlyingMassMax () const |
double | getFlyingMassMin () const |
get current cuts More... | |
double | getKinFitProbMin () const |
BPHDecayToResFlyingBuilder & | operator= (const BPHDecayToResFlyingBuilder &x)=delete |
void | setFlyingMassMax (double m) |
void | setFlyingMassMin (double m) |
set cuts More... | |
void | setFlyingMassRange (double mMin, double mMax) |
void | setKinFitProbMin (double p) |
~BPHDecayToResFlyingBuilder () 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::map< const BPHRecoCandidate *, const BPHRecoCandidate * > | dMap |
const std::vector < BPHPlusMinusConstCandPtr > * | fCollection |
BPHMassFitSelect * | flySel |
double | fMass |
double | fMSigma |
std::string | fName |
BPHKinFitChi2Select * | kfChi2Sel |
std::vector< BPHRecoConstCandPtr > | recList |
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 a resonances and a flying particle, both decaying to an opposite charged particles pair
Definition at line 39 of file BPHDecayToResFlyingBuilder.h.
BPHDecayToResFlyingBuilder::BPHDecayToResFlyingBuilder | ( | const edm::EventSetup & | es, |
const std::string & | resName, | ||
double | resMass, | ||
double | resWidth, | ||
const std::vector< BPHPlusMinusConstCandPtr > & | resCollection, | ||
const std::string & | flyName, | ||
double | flyMass, | ||
double | flyMSigma, | ||
const std::vector< BPHPlusMinusConstCandPtr > & | flyCollection | ||
) |
Constructor
Definition at line 32 of file BPHDecayToResFlyingBuilder.cc.
|
delete |
|
override |
Destructor
Definition at line 52 of file BPHDecayToResFlyingBuilder.cc.
References flySel, and kfChi2Sel.
vector< BPHRecoConstCandPtr > BPHDecayToResFlyingBuilder::build | ( | ) |
build candidates
Operations
Definition at line 60 of file BPHDecayToResFlyingBuilder.cc.
References BPHKinFitChi2Select::accept(), BPHMassFitSelect::accept(), BPHRecoBuilder::add(), BPHRecoCandidate::build(), BPHRecoCandidate::clone(), dMap, BPHDecayGenericBuilder::evSetup, fCollection, BPHRecoBuilder::filter(), flySel, fMass, fMSigma, fName, BPHMassCuts::getMassMax(), BPHKinFitChi2Select::getProbMin(), kfChi2Sel, BPHDecayGenericBuilder::massSel, BPHDecayGenericBuilder::mFitSel, BPHDecayGenericBuilder::minPDiff, BPHDecayConstrainedBuilder::rCollection, recList, BPHKinematicFit::resetKinematicFit(), BPHDecayConstrainedBuilder::resoSel, BPHDecayConstrainedBuilder::rName, BPHKinematicFit::setIndependentFit(), BPHRecoBuilder::setMinPDiffererence(), BPHKinematicFit::topDecayVertex(), and BPHDecayGenericBuilder::updated.
Referenced by BPHWriteSpecificDecay::fill().
|
inline |
get original daughters map
Definition at line 67 of file BPHDecayToResFlyingBuilder.h.
References dMap.
Referenced by BPHWriteSpecificDecay::fill().
|
inline |
Definition at line 77 of file BPHDecayToResFlyingBuilder.h.
References flySel, and BPHMassCuts::getMassMax().
Referenced by BPHBdToJPsiKsBuilder::getK0MassMax(), and BPHLbToJPsiL0Builder::getLambda0MassMax().
|
inline |
get current cuts
Definition at line 76 of file BPHDecayToResFlyingBuilder.h.
References flySel, and BPHMassCuts::getMassMin().
Referenced by BPHBdToJPsiKsBuilder::getK0MassMin(), and BPHLbToJPsiL0Builder::getLambda0MassMin().
|
inline |
Definition at line 78 of file BPHDecayToResFlyingBuilder.h.
References BPHKinFitChi2Select::getProbMin(), and kfChi2Sel.
|
delete |
void BPHDecayToResFlyingBuilder::setFlyingMassMax | ( | double | m | ) |
Definition at line 114 of file BPHDecayToResFlyingBuilder.cc.
References flySel, BPHMassCuts::setMassMax(), and BPHDecayGenericBuilder::updated.
Referenced by BPHBdToJPsiKsBuilder::setK0MassMax(), and BPHLbToJPsiL0Builder::setLambda0MassMax().
void BPHDecayToResFlyingBuilder::setFlyingMassMin | ( | double | m | ) |
set cuts
Definition at line 108 of file BPHDecayToResFlyingBuilder.cc.
References flySel, BPHMassCuts::setMassMin(), and BPHDecayGenericBuilder::updated.
Referenced by BPHBdToJPsiKsBuilder::setK0MassMin(), and BPHLbToJPsiL0Builder::setLambda0MassMin().
void BPHDecayToResFlyingBuilder::setFlyingMassRange | ( | double | mMin, |
double | mMax | ||
) |
Definition at line 120 of file BPHDecayToResFlyingBuilder.cc.
References flySel, BPHMassCuts::setMassMax(), BPHMassCuts::setMassMin(), and BPHDecayGenericBuilder::updated.
Referenced by BPHBdToJPsiKsBuilder::BPHBdToJPsiKsBuilder(), and BPHLbToJPsiL0Builder::BPHLbToJPsiL0Builder().
void BPHDecayToResFlyingBuilder::setKinFitProbMin | ( | double | p | ) |
Definition at line 127 of file BPHDecayToResFlyingBuilder.cc.
References kfChi2Sel, BPHKinFitChi2Select::setProbMin(), and BPHDecayGenericBuilder::updated.
Referenced by BPHBdToJPsiKsBuilder::BPHBdToJPsiKsBuilder(), and BPHLbToJPsiL0Builder::BPHLbToJPsiL0Builder().
|
private |
Definition at line 90 of file BPHDecayToResFlyingBuilder.h.
Referenced by build(), and daughMap().
|
private |
Definition at line 85 of file BPHDecayToResFlyingBuilder.h.
Referenced by build().
|
private |
Definition at line 87 of file BPHDecayToResFlyingBuilder.h.
Referenced by build(), getFlyingMassMax(), getFlyingMassMin(), setFlyingMassMax(), setFlyingMassMin(), setFlyingMassRange(), and ~BPHDecayToResFlyingBuilder().
|
private |
Definition at line 82 of file BPHDecayToResFlyingBuilder.h.
Referenced by build().
|
private |
Definition at line 83 of file BPHDecayToResFlyingBuilder.h.
Referenced by build().
|
private |
Definition at line 81 of file BPHDecayToResFlyingBuilder.h.
Referenced by build().
|
private |
Definition at line 88 of file BPHDecayToResFlyingBuilder.h.
Referenced by build(), getKinFitProbMin(), setKinFitProbMin(), and ~BPHDecayToResFlyingBuilder().
|
private |
Definition at line 91 of file BPHDecayToResFlyingBuilder.h.
Referenced by build().