#include <BPHBsToJPsiPhiBuilder.h>
Public Member Functions | |
BPHBsToJPsiPhiBuilder (const edm::EventSetup &es, const std::vector< BPHPlusMinusConstCandPtr > &jpsiCollection, const std::vector< BPHPlusMinusConstCandPtr > &phiCollection) | |
std::vector< BPHRecoConstCandPtr > | build () |
build Bs candidates More... | |
bool | getConstr () const |
double | getJPsiMassMax () const |
double | getJPsiMassMin () const |
get current cuts More... | |
double | getMassFitMax () const |
double | getMassFitMin () const |
double | getMassMax () const |
double | getMassMin () const |
double | getPhiMassMax () const |
double | getPhiMassMin () const |
double | getProbMin () const |
void | setConstr (bool flag) |
void | setJPsiMassMax (double m) |
void | setJPsiMassMin (double m) |
set cuts More... | |
void | setMassFitMax (double m) |
void | setMassFitMin (double m) |
void | setMassMax (double m) |
void | setMassMin (double m) |
void | setPhiMassMax (double m) |
void | setPhiMassMin (double m) |
void | setProbMin (double p) |
virtual | ~BPHBsToJPsiPhiBuilder () |
Private Member Functions | |
BPHBsToJPsiPhiBuilder (const BPHBsToJPsiPhiBuilder &x) | |
BPHBsToJPsiPhiBuilder & | operator= (const BPHBsToJPsiPhiBuilder &x) |
Private Attributes | |
std::vector< BPHRecoConstCandPtr > | bsList |
BPHChi2Select * | chi2Sel |
const edm::EventSetup * | evSetup |
const std::vector< BPHPlusMinusConstCandPtr > * | jCollection |
std::string | jPsiName |
BPHMassSelect * | jpsiSel |
bool | massConstr |
BPHMassSelect * | massSel |
BPHMassFitSelect * | mFitSel |
float | minPDiff |
BPHMassSelect * | mphiSel |
const std::vector< BPHPlusMinusConstCandPtr > * | pCollection |
std::string | phiName |
bool | updated |
Description: Class to build Bs to JPsi Phi candidates
Definition at line 40 of file BPHBsToJPsiPhiBuilder.h.
BPHBsToJPsiPhiBuilder::BPHBsToJPsiPhiBuilder | ( | const edm::EventSetup & | es, |
const std::vector< BPHPlusMinusConstCandPtr > & | jpsiCollection, | ||
const std::vector< BPHPlusMinusConstCandPtr > & | phiCollection | ||
) |
Constructor
Definition at line 37 of file BPHBsToJPsiPhiBuilder.cc.
References chi2Sel, BPHParticleMasses::jPsiMass, BPHParticleMasses::jPsiMWidth, jPsiName, jpsiSel, massConstr, massSel, mFitSel, minPDiff, mphiSel, and updated.
|
virtual |
|
private |
vector< BPHRecoConstCandPtr > BPHBsToJPsiPhiBuilder::build | ( | ) |
build Bs candidates
Operations
Definition at line 72 of file BPHBsToJPsiPhiBuilder.cc.
References BPHRecoBuilder::add(), bsList, BPHRecoCandidate::build(), chi2Sel, evSetup, BPHRecoBuilder::filter(), jCollection, jPsiName, jpsiSel, massConstr, massSel, mFitSel, minPDiff, mphiSel, pCollection, phiName, BPHRecoBuilder::setMinPDiffererence(), and updated.
Referenced by BPHWriteSpecificDecay::fill().
bool BPHBsToJPsiPhiBuilder::getConstr | ( | ) | const |
double BPHBsToJPsiPhiBuilder::getJPsiMassMax | ( | ) | const |
Definition at line 187 of file BPHBsToJPsiPhiBuilder.cc.
References BPHMassCuts::getMassMax(), and jpsiSel.
double BPHBsToJPsiPhiBuilder::getJPsiMassMin | ( | ) | const |
get current cuts
Definition at line 182 of file BPHBsToJPsiPhiBuilder.cc.
References BPHMassCuts::getMassMin(), and jpsiSel.
double BPHBsToJPsiPhiBuilder::getMassFitMax | ( | ) | const |
Definition at line 222 of file BPHBsToJPsiPhiBuilder.cc.
References BPHMassCuts::getMassMax(), and mFitSel.
double BPHBsToJPsiPhiBuilder::getMassFitMin | ( | ) | const |
Definition at line 217 of file BPHBsToJPsiPhiBuilder.cc.
References BPHMassCuts::getMassMin(), and mFitSel.
double BPHBsToJPsiPhiBuilder::getMassMax | ( | ) | const |
Definition at line 207 of file BPHBsToJPsiPhiBuilder.cc.
References BPHMassCuts::getMassMax(), and massSel.
double BPHBsToJPsiPhiBuilder::getMassMin | ( | ) | const |
Definition at line 202 of file BPHBsToJPsiPhiBuilder.cc.
References BPHMassCuts::getMassMin(), and massSel.
double BPHBsToJPsiPhiBuilder::getPhiMassMax | ( | ) | const |
Definition at line 197 of file BPHBsToJPsiPhiBuilder.cc.
References BPHMassCuts::getMassMax(), and mphiSel.
double BPHBsToJPsiPhiBuilder::getPhiMassMin | ( | ) | const |
Definition at line 192 of file BPHBsToJPsiPhiBuilder.cc.
References BPHMassCuts::getMassMin(), and mphiSel.
double BPHBsToJPsiPhiBuilder::getProbMin | ( | ) | const |
Definition at line 212 of file BPHBsToJPsiPhiBuilder.cc.
References chi2Sel, and BPHChi2Select::getProbMin().
|
private |
void BPHBsToJPsiPhiBuilder::setConstr | ( | bool | flag | ) |
Definition at line 175 of file BPHBsToJPsiPhiBuilder.cc.
References RemoveAddSevLevel::flag, massConstr, and updated.
Referenced by BPHWriteSpecificDecay::fill().
void BPHBsToJPsiPhiBuilder::setJPsiMassMax | ( | double | m | ) |
Definition at line 119 of file BPHBsToJPsiPhiBuilder.cc.
References jpsiSel, BPHMassCuts::setMassMax(), and updated.
Referenced by BPHWriteSpecificDecay::fill().
void BPHBsToJPsiPhiBuilder::setJPsiMassMin | ( | double | m | ) |
set cuts
Definition at line 112 of file BPHBsToJPsiPhiBuilder.cc.
References jpsiSel, BPHMassCuts::setMassMin(), and updated.
Referenced by BPHWriteSpecificDecay::fill().
void BPHBsToJPsiPhiBuilder::setMassFitMax | ( | double | m | ) |
Definition at line 168 of file BPHBsToJPsiPhiBuilder.cc.
References mFitSel, BPHMassCuts::setMassMax(), and updated.
Referenced by BPHWriteSpecificDecay::fill().
void BPHBsToJPsiPhiBuilder::setMassFitMin | ( | double | m | ) |
Definition at line 161 of file BPHBsToJPsiPhiBuilder.cc.
References mFitSel, BPHMassCuts::setMassMin(), and updated.
Referenced by BPHWriteSpecificDecay::fill().
void BPHBsToJPsiPhiBuilder::setMassMax | ( | double | m | ) |
Definition at line 147 of file BPHBsToJPsiPhiBuilder.cc.
References massSel, BPHMassCuts::setMassMax(), and updated.
Referenced by BPHWriteSpecificDecay::fill().
void BPHBsToJPsiPhiBuilder::setMassMin | ( | double | m | ) |
Definition at line 140 of file BPHBsToJPsiPhiBuilder.cc.
References massSel, BPHMassCuts::setMassMin(), and updated.
Referenced by BPHWriteSpecificDecay::fill().
void BPHBsToJPsiPhiBuilder::setPhiMassMax | ( | double | m | ) |
Definition at line 133 of file BPHBsToJPsiPhiBuilder.cc.
References mphiSel, BPHMassCuts::setMassMax(), and updated.
Referenced by BPHWriteSpecificDecay::fill().
void BPHBsToJPsiPhiBuilder::setPhiMassMin | ( | double | m | ) |
Definition at line 126 of file BPHBsToJPsiPhiBuilder.cc.
References mphiSel, BPHMassCuts::setMassMin(), and updated.
Referenced by BPHWriteSpecificDecay::fill().
void BPHBsToJPsiPhiBuilder::setProbMin | ( | double | p | ) |
Definition at line 154 of file BPHBsToJPsiPhiBuilder.cc.
References chi2Sel, BPHChi2Select::setProbMin(), and updated.
Referenced by BPHWriteSpecificDecay::fill().
|
private |
Definition at line 107 of file BPHBsToJPsiPhiBuilder.h.
Referenced by build().
|
private |
Definition at line 100 of file BPHBsToJPsiPhiBuilder.h.
Referenced by BPHBsToJPsiPhiBuilder(), build(), getProbMin(), setProbMin(), and ~BPHBsToJPsiPhiBuilder().
|
private |
Definition at line 92 of file BPHBsToJPsiPhiBuilder.h.
Referenced by build().
|
private |
Definition at line 93 of file BPHBsToJPsiPhiBuilder.h.
Referenced by build().
|
private |
Definition at line 89 of file BPHBsToJPsiPhiBuilder.h.
Referenced by BPHBsToJPsiPhiBuilder(), and build().
|
private |
Definition at line 96 of file BPHBsToJPsiPhiBuilder.h.
Referenced by BPHBsToJPsiPhiBuilder(), build(), getJPsiMassMax(), getJPsiMassMin(), setJPsiMassMax(), setJPsiMassMin(), and ~BPHBsToJPsiPhiBuilder().
|
private |
Definition at line 103 of file BPHBsToJPsiPhiBuilder.h.
Referenced by BPHBsToJPsiPhiBuilder(), build(), getConstr(), and setConstr().
|
private |
Definition at line 99 of file BPHBsToJPsiPhiBuilder.h.
Referenced by BPHBsToJPsiPhiBuilder(), build(), getMassMax(), getMassMin(), setMassMax(), setMassMin(), and ~BPHBsToJPsiPhiBuilder().
|
private |
Definition at line 101 of file BPHBsToJPsiPhiBuilder.h.
Referenced by BPHBsToJPsiPhiBuilder(), build(), getMassFitMax(), getMassFitMin(), setMassFitMax(), setMassFitMin(), and ~BPHBsToJPsiPhiBuilder().
|
private |
Definition at line 104 of file BPHBsToJPsiPhiBuilder.h.
Referenced by BPHBsToJPsiPhiBuilder(), and build().
|
private |
Definition at line 97 of file BPHBsToJPsiPhiBuilder.h.
Referenced by BPHBsToJPsiPhiBuilder(), build(), getPhiMassMax(), getPhiMassMin(), setPhiMassMax(), setPhiMassMin(), and ~BPHBsToJPsiPhiBuilder().
|
private |
Definition at line 94 of file BPHBsToJPsiPhiBuilder.h.
Referenced by build().
|
private |
Definition at line 90 of file BPHBsToJPsiPhiBuilder.h.
Referenced by build().
|
private |
Definition at line 105 of file BPHBsToJPsiPhiBuilder.h.
Referenced by BPHBsToJPsiPhiBuilder(), build(), setConstr(), setJPsiMassMax(), setJPsiMassMin(), setMassFitMax(), setMassFitMin(), setMassMax(), setMassMin(), setPhiMassMax(), setPhiMassMin(), and setProbMin().