#include <BPHKx0ToKPiBuilder.h>
Public Member Functions | |
BPHKx0ToKPiBuilder (const edm::EventSetup &es, const BPHRecoBuilder::BPHGenericCollection *posCollection, const BPHRecoBuilder::BPHGenericCollection *negCollection) | |
std::vector< BPHPlusMinusConstCandPtr > | build () |
build Phi candidates More... | |
double | getConstrMass () const |
double | getConstrSigma () const |
double | getEtaMax () const |
double | getMassMax () const |
double | getMassMin () const |
double | getProbMin () const |
double | getPtMin () const |
get current cuts More... | |
void | setConstr (double mass, double sigma) |
void | setEtaMax (double eta) |
void | setMassMax (double m) |
void | setMassMin (double m) |
void | setProbMin (double p) |
void | setPtMin (double pt) |
set cuts More... | |
virtual | ~BPHKx0ToKPiBuilder () |
Private Member Functions | |
BPHKx0ToKPiBuilder (const BPHKx0ToKPiBuilder &x) | |
BPHKx0ToKPiBuilder & | operator= (const BPHKx0ToKPiBuilder &x) |
Private Attributes | |
BPHChi2Select * | chi2Sel |
double | cMass |
double | cSigma |
BPHParticleEtaSelect * | etaSel |
const edm::EventSetup * | evSetup |
std::string | kaonName |
std::vector< BPHPlusMinusConstCandPtr > | kx0List |
BPHMassSelect * | massSel |
const BPHRecoBuilder::BPHGenericCollection * | nCollection |
const BPHRecoBuilder::BPHGenericCollection * | pCollection |
std::string | pionName |
BPHParticlePtSelect * | ptSel |
bool | updated |
Description: Class to build K*0 to K+ pi- candidates
Definition at line 41 of file BPHKx0ToKPiBuilder.h.
BPHKx0ToKPiBuilder::BPHKx0ToKPiBuilder | ( | const edm::EventSetup & | es, |
const BPHRecoBuilder::BPHGenericCollection * | posCollection, | ||
const BPHRecoBuilder::BPHGenericCollection * | negCollection | ||
) |
Constructor
Definition at line 41 of file BPHKx0ToKPiBuilder.cc.
References chi2Sel, etaSel, massSel, ptSel, and updated.
|
virtual |
|
private |
vector< BPHPlusMinusConstCandPtr > BPHKx0ToKPiBuilder::build | ( | ) |
build Phi candidates
Operations
Definition at line 70 of file BPHKx0ToKPiBuilder.cc.
References BPHChi2Select::accept(), BPHMassSelect::accept(), BPHPlusMinusCandidate::add(), BPHRecoBuilder::add(), BPHPlusMinusCandidate::build(), chi2Sel, BPHPlusMinusCandidate::composite(), etaSel, evSetup, BPHRecoBuilder::filter(), BPHDecayMomentum::getDaug(), BPHParticleMasses::kaonMass, BPHParticleMasses::kaonMSigma, kaonName, kx0List, BPHParticleMasses::kx0Mass, reco::LeafCandidate::mass(), massSel, nCollection, BPHDecayMomentum::originalReco(), pCollection, BPHParticleMasses::pionMass, BPHParticleMasses::pionMSigma, pionName, ptSel, and updated.
Referenced by BPHWriteSpecificDecay::fill().
double BPHKx0ToKPiBuilder::getConstrMass | ( | ) | const |
Definition at line 187 of file BPHKx0ToKPiBuilder.cc.
References cMass.
Referenced by BPHWriteSpecificDecay::fill().
double BPHKx0ToKPiBuilder::getConstrSigma | ( | ) | const |
Definition at line 192 of file BPHKx0ToKPiBuilder.cc.
References cSigma.
Referenced by BPHWriteSpecificDecay::fill().
double BPHKx0ToKPiBuilder::getEtaMax | ( | ) | const |
Definition at line 167 of file BPHKx0ToKPiBuilder.cc.
References etaSel, and BPHParticleEtaSelect::getEtaMax().
double BPHKx0ToKPiBuilder::getMassMax | ( | ) | const |
Definition at line 177 of file BPHKx0ToKPiBuilder.cc.
References BPHMassCuts::getMassMax(), and massSel.
double BPHKx0ToKPiBuilder::getMassMin | ( | ) | const |
Definition at line 172 of file BPHKx0ToKPiBuilder.cc.
References BPHMassCuts::getMassMin(), and massSel.
double BPHKx0ToKPiBuilder::getProbMin | ( | ) | const |
Definition at line 182 of file BPHKx0ToKPiBuilder.cc.
References chi2Sel, and BPHChi2Select::getProbMin().
double BPHKx0ToKPiBuilder::getPtMin | ( | ) | const |
get current cuts
Definition at line 162 of file BPHKx0ToKPiBuilder.cc.
References BPHParticlePtSelect::getPtMin(), and ptSel.
|
private |
void BPHKx0ToKPiBuilder::setConstr | ( | double | mass, |
double | sigma | ||
) |
Definition at line 154 of file BPHKx0ToKPiBuilder.cc.
References cMass, cSigma, ResonanceBuilder::mass, and updated.
Referenced by BPHWriteSpecificDecay::fill().
void BPHKx0ToKPiBuilder::setEtaMax | ( | double | eta | ) |
Definition at line 126 of file BPHKx0ToKPiBuilder.cc.
References etaSel, BPHParticleEtaSelect::setEtaMax(), and updated.
Referenced by BPHWriteSpecificDecay::fill().
void BPHKx0ToKPiBuilder::setMassMax | ( | double | m | ) |
Definition at line 140 of file BPHKx0ToKPiBuilder.cc.
References massSel, BPHMassCuts::setMassMax(), and updated.
Referenced by BPHWriteSpecificDecay::fill().
void BPHKx0ToKPiBuilder::setMassMin | ( | double | m | ) |
Definition at line 133 of file BPHKx0ToKPiBuilder.cc.
References massSel, BPHMassCuts::setMassMin(), and updated.
Referenced by BPHWriteSpecificDecay::fill().
void BPHKx0ToKPiBuilder::setProbMin | ( | double | p | ) |
Definition at line 147 of file BPHKx0ToKPiBuilder.cc.
References chi2Sel, BPHChi2Select::setProbMin(), and updated.
Referenced by BPHWriteSpecificDecay::fill().
void BPHKx0ToKPiBuilder::setPtMin | ( | double | pt | ) |
set cuts
Definition at line 119 of file BPHKx0ToKPiBuilder.cc.
References ptSel, BPHParticlePtSelect::setPtMin(), and updated.
Referenced by BPHWriteSpecificDecay::fill().
|
private |
Definition at line 93 of file BPHKx0ToKPiBuilder.h.
Referenced by BPHKx0ToKPiBuilder(), build(), getProbMin(), setProbMin(), and ~BPHKx0ToKPiBuilder().
|
private |
Definition at line 94 of file BPHKx0ToKPiBuilder.h.
Referenced by getConstrMass(), and setConstr().
|
private |
Definition at line 95 of file BPHKx0ToKPiBuilder.h.
Referenced by getConstrSigma(), and setConstr().
|
private |
Definition at line 91 of file BPHKx0ToKPiBuilder.h.
Referenced by BPHKx0ToKPiBuilder(), build(), getEtaMax(), setEtaMax(), and ~BPHKx0ToKPiBuilder().
|
private |
Definition at line 86 of file BPHKx0ToKPiBuilder.h.
Referenced by build().
|
private |
Definition at line 83 of file BPHKx0ToKPiBuilder.h.
Referenced by build().
|
private |
Definition at line 98 of file BPHKx0ToKPiBuilder.h.
Referenced by build().
|
private |
Definition at line 92 of file BPHKx0ToKPiBuilder.h.
Referenced by BPHKx0ToKPiBuilder(), build(), getMassMax(), getMassMin(), setMassMax(), setMassMin(), and ~BPHKx0ToKPiBuilder().
|
private |
Definition at line 88 of file BPHKx0ToKPiBuilder.h.
Referenced by build().
|
private |
Definition at line 87 of file BPHKx0ToKPiBuilder.h.
Referenced by build().
|
private |
Definition at line 84 of file BPHKx0ToKPiBuilder.h.
Referenced by build().
|
private |
Definition at line 90 of file BPHKx0ToKPiBuilder.h.
Referenced by BPHKx0ToKPiBuilder(), build(), getPtMin(), setPtMin(), and ~BPHKx0ToKPiBuilder().
|
private |
Definition at line 96 of file BPHKx0ToKPiBuilder.h.
Referenced by BPHKx0ToKPiBuilder(), build(), setConstr(), setEtaMax(), setMassMax(), setMassMin(), setProbMin(), and setPtMin().