#include <BPHBuToJPsiKBuilder.h>
Public Member Functions | |
BPHBuToJPsiKBuilder (const edm::EventSetup &es, const std::vector< BPHPlusMinusConstCandPtr > &jpsiCollection, const BPHRecoBuilder::BPHGenericCollection *kaonCollection) | |
std::vector< BPHRecoConstCandPtr > | build () |
build Bu candidates More... | |
bool | getConstr () const |
double | getJPsiMassMax () const |
double | getJPsiMassMin () const |
get current cuts More... | |
double | getKEtaMax () const |
double | getKPtMin () const |
get current cuts More... | |
double | getMassFitMax () const |
double | getMassFitMin () const |
double | getMassMax () const |
double | getMassMin () const |
double | getProbMin () const |
void | setConstr (bool flag) |
void | setJPsiMassMax (double m) |
void | setJPsiMassMin (double m) |
set cuts More... | |
void | setKEtaMax (double eta) |
void | setKPtMin (double pt) |
set cuts More... | |
void | setMassFitMax (double m) |
void | setMassFitMin (double m) |
void | setMassMax (double m) |
void | setMassMin (double m) |
void | setProbMin (double p) |
virtual | ~BPHBuToJPsiKBuilder () |
Private Member Functions | |
BPHBuToJPsiKBuilder (const BPHBuToJPsiKBuilder &x)=delete | |
BPHBuToJPsiKBuilder & | operator= (const BPHBuToJPsiKBuilder &x)=delete |
Private Attributes | |
std::vector< BPHRecoConstCandPtr > | buList |
BPHChi2Select * | chi2Sel |
BPHParticleEtaSelect * | etaSel |
const edm::EventSetup * | evSetup |
const std::vector< BPHPlusMinusConstCandPtr > * | jCollection |
std::string | jPsiName |
BPHMassSelect * | jpsiSel |
std::string | kaonName |
const BPHRecoBuilder::BPHGenericCollection * | kCollection |
BPHParticleNeutralVeto * | knVeto |
bool | massConstr |
BPHMassSelect * | massSel |
BPHMassFitSelect * | mFitSel |
float | minPDiff |
BPHParticlePtSelect * | ptSel |
bool | updated |
Description: Class to build B+- to JPsi K+- candidates
Definition at line 42 of file BPHBuToJPsiKBuilder.h.
BPHBuToJPsiKBuilder::BPHBuToJPsiKBuilder | ( | const edm::EventSetup & | es, |
const std::vector< BPHPlusMinusConstCandPtr > & | jpsiCollection, | ||
const BPHRecoBuilder::BPHGenericCollection * | kaonCollection | ||
) |
Constructor
Definition at line 39 of file BPHBuToJPsiKBuilder.cc.
References chi2Sel, etaSel, BPHParticleMasses::jPsiMass, BPHParticleMasses::jPsiMWidth, jPsiName, jpsiSel, knVeto, massConstr, massSel, mFitSel, minPDiff, ptSel, and updated.
|
virtual |
|
privatedelete |
vector< BPHRecoConstCandPtr > BPHBuToJPsiKBuilder::build | ( | ) |
build Bu candidates
Operations
Definition at line 71 of file BPHBuToJPsiKBuilder.cc.
References BPHRecoBuilder::add(), BPHRecoCandidate::build(), buList, chi2Sel, etaSel, evSetup, BPHRecoBuilder::filter(), jCollection, jPsiName, jpsiSel, BPHParticleMasses::kaonMass, BPHParticleMasses::kaonMSigma, kaonName, kCollection, knVeto, massConstr, massSel, mFitSel, minPDiff, ptSel, BPHRecoBuilder::setMinPDiffererence(), and updated.
Referenced by BPHWriteSpecificDecay::fill().
bool BPHBuToJPsiKBuilder::getConstr | ( | ) | const |
double BPHBuToJPsiKBuilder::getJPsiMassMax | ( | ) | const |
Definition at line 175 of file BPHBuToJPsiKBuilder.cc.
References BPHMassCuts::getMassMax(), and jpsiSel.
double BPHBuToJPsiKBuilder::getJPsiMassMin | ( | ) | const |
get current cuts
Definition at line 173 of file BPHBuToJPsiKBuilder.cc.
References BPHMassCuts::getMassMin(), and jpsiSel.
double BPHBuToJPsiKBuilder::getKEtaMax | ( | ) | const |
Definition at line 179 of file BPHBuToJPsiKBuilder.cc.
References etaSel, and BPHParticleEtaSelect::getEtaMax().
double BPHBuToJPsiKBuilder::getKPtMin | ( | ) | const |
get current cuts
Definition at line 177 of file BPHBuToJPsiKBuilder.cc.
References BPHParticlePtSelect::getPtMin(), and ptSel.
double BPHBuToJPsiKBuilder::getMassFitMax | ( | ) | const |
Definition at line 189 of file BPHBuToJPsiKBuilder.cc.
References BPHMassCuts::getMassMax(), and mFitSel.
double BPHBuToJPsiKBuilder::getMassFitMin | ( | ) | const |
Definition at line 187 of file BPHBuToJPsiKBuilder.cc.
References BPHMassCuts::getMassMin(), and mFitSel.
double BPHBuToJPsiKBuilder::getMassMax | ( | ) | const |
Definition at line 183 of file BPHBuToJPsiKBuilder.cc.
References BPHMassCuts::getMassMax(), and massSel.
double BPHBuToJPsiKBuilder::getMassMin | ( | ) | const |
Definition at line 181 of file BPHBuToJPsiKBuilder.cc.
References BPHMassCuts::getMassMin(), and massSel.
double BPHBuToJPsiKBuilder::getProbMin | ( | ) | const |
Definition at line 185 of file BPHBuToJPsiKBuilder.cc.
References chi2Sel, and BPHChi2Select::getProbMin().
|
privatedelete |
void BPHBuToJPsiKBuilder::setConstr | ( | bool | flag | ) |
Definition at line 166 of file BPHBuToJPsiKBuilder.cc.
References RemoveAddSevLevel::flag, massConstr, and updated.
Referenced by BPHWriteSpecificDecay::fill().
void BPHBuToJPsiKBuilder::setJPsiMassMax | ( | double | m | ) |
Definition at line 118 of file BPHBuToJPsiKBuilder.cc.
References jpsiSel, BPHMassCuts::setMassMax(), and updated.
Referenced by BPHWriteSpecificDecay::fill().
void BPHBuToJPsiKBuilder::setJPsiMassMin | ( | double | m | ) |
set cuts
Definition at line 112 of file BPHBuToJPsiKBuilder.cc.
References jpsiSel, BPHMassCuts::setMassMin(), and updated.
Referenced by BPHWriteSpecificDecay::fill().
void BPHBuToJPsiKBuilder::setKEtaMax | ( | double | eta | ) |
Definition at line 130 of file BPHBuToJPsiKBuilder.cc.
References etaSel, BPHParticleEtaSelect::setEtaMax(), and updated.
Referenced by BPHWriteSpecificDecay::fill().
void BPHBuToJPsiKBuilder::setKPtMin | ( | double | pt | ) |
set cuts
Definition at line 124 of file BPHBuToJPsiKBuilder.cc.
References ptSel, BPHParticlePtSelect::setPtMin(), and updated.
Referenced by BPHWriteSpecificDecay::fill().
void BPHBuToJPsiKBuilder::setMassFitMax | ( | double | m | ) |
Definition at line 160 of file BPHBuToJPsiKBuilder.cc.
References mFitSel, BPHMassCuts::setMassMax(), and updated.
Referenced by BPHWriteSpecificDecay::fill().
void BPHBuToJPsiKBuilder::setMassFitMin | ( | double | m | ) |
Definition at line 154 of file BPHBuToJPsiKBuilder.cc.
References mFitSel, BPHMassCuts::setMassMin(), and updated.
Referenced by BPHWriteSpecificDecay::fill().
void BPHBuToJPsiKBuilder::setMassMax | ( | double | m | ) |
Definition at line 142 of file BPHBuToJPsiKBuilder.cc.
References massSel, BPHMassCuts::setMassMax(), and updated.
Referenced by BPHWriteSpecificDecay::fill().
void BPHBuToJPsiKBuilder::setMassMin | ( | double | m | ) |
Definition at line 136 of file BPHBuToJPsiKBuilder.cc.
References massSel, BPHMassCuts::setMassMin(), and updated.
Referenced by BPHWriteSpecificDecay::fill().
void BPHBuToJPsiKBuilder::setProbMin | ( | double | p | ) |
Definition at line 148 of file BPHBuToJPsiKBuilder.cc.
References chi2Sel, BPHChi2Select::setProbMin(), and updated.
Referenced by BPHWriteSpecificDecay::fill().
|
private |
Definition at line 108 of file BPHBuToJPsiKBuilder.h.
Referenced by build().
|
private |
Definition at line 101 of file BPHBuToJPsiKBuilder.h.
Referenced by BPHBuToJPsiKBuilder(), build(), getProbMin(), setProbMin(), and ~BPHBuToJPsiKBuilder().
|
private |
Definition at line 98 of file BPHBuToJPsiKBuilder.h.
Referenced by BPHBuToJPsiKBuilder(), build(), getKEtaMax(), setKEtaMax(), and ~BPHBuToJPsiKBuilder().
|
private |
Definition at line 91 of file BPHBuToJPsiKBuilder.h.
Referenced by build().
|
private |
Definition at line 92 of file BPHBuToJPsiKBuilder.h.
Referenced by build().
|
private |
Definition at line 88 of file BPHBuToJPsiKBuilder.h.
Referenced by BPHBuToJPsiKBuilder(), and build().
|
private |
Definition at line 95 of file BPHBuToJPsiKBuilder.h.
Referenced by BPHBuToJPsiKBuilder(), build(), getJPsiMassMax(), getJPsiMassMin(), setJPsiMassMax(), setJPsiMassMin(), and ~BPHBuToJPsiKBuilder().
|
private |
Definition at line 89 of file BPHBuToJPsiKBuilder.h.
Referenced by build().
|
private |
Definition at line 93 of file BPHBuToJPsiKBuilder.h.
Referenced by build().
|
private |
Definition at line 96 of file BPHBuToJPsiKBuilder.h.
Referenced by BPHBuToJPsiKBuilder(), build(), and ~BPHBuToJPsiKBuilder().
|
private |
Definition at line 104 of file BPHBuToJPsiKBuilder.h.
Referenced by BPHBuToJPsiKBuilder(), build(), getConstr(), and setConstr().
|
private |
Definition at line 100 of file BPHBuToJPsiKBuilder.h.
Referenced by BPHBuToJPsiKBuilder(), build(), getMassMax(), getMassMin(), setMassMax(), setMassMin(), and ~BPHBuToJPsiKBuilder().
|
private |
Definition at line 102 of file BPHBuToJPsiKBuilder.h.
Referenced by BPHBuToJPsiKBuilder(), build(), getMassFitMax(), getMassFitMin(), setMassFitMax(), setMassFitMin(), and ~BPHBuToJPsiKBuilder().
|
private |
Definition at line 105 of file BPHBuToJPsiKBuilder.h.
Referenced by BPHBuToJPsiKBuilder(), and build().
|
private |
Definition at line 97 of file BPHBuToJPsiKBuilder.h.
Referenced by BPHBuToJPsiKBuilder(), build(), getKPtMin(), setKPtMin(), and ~BPHBuToJPsiKBuilder().
|
private |
Definition at line 106 of file BPHBuToJPsiKBuilder.h.
Referenced by BPHBuToJPsiKBuilder(), build(), setConstr(), setJPsiMassMax(), setJPsiMassMin(), setKEtaMax(), setKPtMin(), setMassFitMax(), setMassFitMin(), setMassMax(), setMassMin(), and setProbMin().