#include <BPHOniaToMuMuBuilder.h>
Classes | |
struct | OniaParameters |
Public Types | |
enum | oniaType { Phi, Psi1, Psi2, Ups, Ups1, Ups2, Ups3 } |
Private Member Functions | |
BPHOniaToMuMuBuilder (const BPHOniaToMuMuBuilder &x)=delete | |
void | extractList (oniaType type) |
BPHOniaToMuMuBuilder & | operator= (const BPHOniaToMuMuBuilder &x)=delete |
void | setNotUpdated () |
void | setParameters (oniaType type, double ptMin, double etaMax, double massMin, double massMax, double probMin, double mass, double sigma) |
Private Attributes | |
const edm::EventSetup * | evSetup |
std::vector< BPHPlusMinusConstCandPtr > | fullList |
std::string | muNegName |
std::string | muPosName |
const BPHRecoBuilder::BPHGenericCollection * | negCollection |
std::map< oniaType, std::vector< BPHPlusMinusConstCandPtr > > | oniaList |
std::map< oniaType, OniaParameters > | oniaPar |
const BPHRecoBuilder::BPHGenericCollection * | posCollection |
bool | updated |
Description: Class to build Psi(1,2) and Upsilon(1,2,3) candidates
Definition at line 45 of file BPHOniaToMuMuBuilder.h.
BPHOniaToMuMuBuilder::BPHOniaToMuMuBuilder | ( | const edm::EventSetup & | es, |
const BPHRecoBuilder::BPHGenericCollection * | muPosCollection, | ||
const BPHRecoBuilder::BPHGenericCollection * | muNegCollection | ||
) |
Constructor
Definition at line 39 of file BPHOniaToMuMuBuilder.cc.
References BPHParticleMasses::jPsiMass, BPHParticleMasses::jPsiMWidth, Phi, BPHParticleMasses::phiMass, BPHParticleMasses::phiMWidth, Psi1, Psi2, BPHParticleMasses::psi2Mass, BPHParticleMasses::psi2MWidth, setParameters(), updated, Ups, Ups1, BPHParticleMasses::ups1Mass, BPHParticleMasses::ups1MWidth, Ups2, BPHParticleMasses::ups2Mass, BPHParticleMasses::ups2MWidth, Ups3, BPHParticleMasses::ups3Mass, and BPHParticleMasses::ups3MWidth.
|
virtual |
Destructor
Definition at line 68 of file BPHOniaToMuMuBuilder.cc.
References BPHOniaToMuMuBuilder::OniaParameters::chi2Sel, BPHOniaToMuMuBuilder::OniaParameters::massSel, and oniaPar.
|
privatedelete |
vector< BPHPlusMinusConstCandPtr > BPHOniaToMuMuBuilder::build | ( | ) |
build resonance candidates
Operations
Definition at line 83 of file BPHOniaToMuMuBuilder.cc.
References BPHRecoBuilder::add(), BPHPlusMinusCandidate::build(), BPHOniaToMuMuBuilder::OniaParameters::chi2Sel, evSetup, BPHRecoBuilder::filter(), fullList, BPHMultiSelectBase< T >::include(), BPHOniaToMuMuBuilder::OniaParameters::massSel, muNegName, BPHParticleMasses::muonMass, BPHParticleMasses::muonMSigma, muPosName, negCollection, oniaPar, BPHSelectOperation::or_mode, posCollection, and updated.
Referenced by extractList(), and BPHWriteSpecificDecay::fill().
|
private |
Definition at line 285 of file BPHOniaToMuMuBuilder.cc.
References BPHChi2Select::accept(), BPHMassSelect::accept(), BPHPlusMinusCandidate::add(), build(), BPHOniaToMuMuBuilder::OniaParameters::chi2Sel, evSetup, fullList, mps_fire::i, list(), BPHOniaToMuMuBuilder::OniaParameters::mass, BPHOniaToMuMuBuilder::OniaParameters::massSel, BPHParticleMasses::muonMass, gen::n, np, oniaList, oniaPar, BPHKinematicFit::setConstraint(), BPHOniaToMuMuBuilder::OniaParameters::sigma, BPHOniaToMuMuBuilder::OniaParameters::updated, and updated.
Referenced by getList().
double BPHOniaToMuMuBuilder::getConstrMass | ( | oniaType | type | ) | const |
Definition at line 247 of file BPHOniaToMuMuBuilder.cc.
References BPHOniaToMuMuBuilder::OniaParameters::mass, and oniaPar.
Referenced by BPHWriteSpecificDecay::fill().
double BPHOniaToMuMuBuilder::getConstrSigma | ( | oniaType | type | ) | const |
Definition at line 253 of file BPHOniaToMuMuBuilder.cc.
References oniaPar, and BPHOniaToMuMuBuilder::OniaParameters::sigma.
Referenced by BPHWriteSpecificDecay::fill().
double BPHOniaToMuMuBuilder::getEtaMax | ( | oniaType | type | ) | const |
Definition at line 223 of file BPHOniaToMuMuBuilder.cc.
References BPHOniaToMuMuBuilder::OniaParameters::etaSel, BPHParticleEtaSelect::getEtaMax(), and oniaPar.
vector< BPHPlusMinusConstCandPtr > BPHOniaToMuMuBuilder::getList | ( | oniaType | type, |
BPHRecoSelect * | dSel = 0 , |
||
BPHMomentumSelect * | mSel = 0 , |
||
BPHVertexSelect * | vSel = 0 , |
||
BPHFitSelect * | kSel = 0 |
||
) |
extract list of candidates of specific type candidates are rebuilt applying corresponding mass constraint
Definition at line 121 of file BPHOniaToMuMuBuilder.cc.
References BPHMomentumSelect::accept(), BPHVertexSelect::accept(), BPHFitSelect::accept(), BPHRecoSelect::accept(), extractList(), mps_fire::i, list(), muNegName, muPosName, gen::n, and oniaList.
Referenced by BPHWriteSpecificDecay::fill().
double BPHOniaToMuMuBuilder::getMassMax | ( | oniaType | type | ) | const |
Definition at line 235 of file BPHOniaToMuMuBuilder.cc.
References BPHMassCuts::getMassMax(), BPHOniaToMuMuBuilder::OniaParameters::massSel, and oniaPar.
double BPHOniaToMuMuBuilder::getMassMin | ( | oniaType | type | ) | const |
Definition at line 229 of file BPHOniaToMuMuBuilder.cc.
References BPHMassCuts::getMassMin(), BPHOniaToMuMuBuilder::OniaParameters::massSel, and oniaPar.
BPHPlusMinusConstCandPtr BPHOniaToMuMuBuilder::getOriginalCandidate | ( | const BPHRecoCandidate & | cand | ) |
retrieve original candidate from a copy with the same daughters obtained through "getList"
Definition at line 150 of file BPHOniaToMuMuBuilder.cc.
References fullList, BPHDecayMomentum::getDaug(), muNegName, muPosName, and BPHDecayMomentum::originalReco().
double BPHOniaToMuMuBuilder::getProbMin | ( | oniaType | type | ) | const |
Definition at line 241 of file BPHOniaToMuMuBuilder.cc.
References BPHOniaToMuMuBuilder::OniaParameters::chi2Sel, BPHChi2Select::getProbMin(), and oniaPar.
double BPHOniaToMuMuBuilder::getPtMin | ( | oniaType | type | ) | const |
get current cuts
Definition at line 217 of file BPHOniaToMuMuBuilder.cc.
References BPHParticlePtSelect::getPtMin(), oniaPar, and BPHOniaToMuMuBuilder::OniaParameters::ptSel.
|
privatedelete |
void BPHOniaToMuMuBuilder::setConstr | ( | oniaType | type, |
double | mass, | ||
double | sigma | ||
) |
Definition at line 207 of file BPHOniaToMuMuBuilder.cc.
References ResonanceBuilder::mass, BPHOniaToMuMuBuilder::OniaParameters::mass, oniaPar, setNotUpdated(), and BPHOniaToMuMuBuilder::OniaParameters::sigma.
Referenced by BPHWriteSpecificDecay::fill().
void BPHOniaToMuMuBuilder::setEtaMax | ( | oniaType | type, |
double | eta | ||
) |
Definition at line 175 of file BPHOniaToMuMuBuilder.cc.
References BPHOniaToMuMuBuilder::OniaParameters::etaSel, oniaPar, BPHParticleEtaSelect::setEtaMax(), and setNotUpdated().
Referenced by BPHWriteSpecificDecay::fill().
void BPHOniaToMuMuBuilder::setMassMax | ( | oniaType | type, |
double | m | ||
) |
Definition at line 191 of file BPHOniaToMuMuBuilder.cc.
References BPHOniaToMuMuBuilder::OniaParameters::massSel, oniaPar, BPHMassCuts::setMassMax(), and setNotUpdated().
Referenced by BPHWriteSpecificDecay::fill().
void BPHOniaToMuMuBuilder::setMassMin | ( | oniaType | type, |
double | m | ||
) |
Definition at line 183 of file BPHOniaToMuMuBuilder.cc.
References BPHOniaToMuMuBuilder::OniaParameters::massSel, oniaPar, BPHMassCuts::setMassMin(), and setNotUpdated().
Referenced by BPHWriteSpecificDecay::fill().
|
private |
Definition at line 259 of file BPHOniaToMuMuBuilder.cc.
References oniaPar, and updated.
Referenced by setConstr(), setEtaMax(), setMassMax(), setMassMin(), setProbMin(), and setPtMin().
|
private |
Definition at line 268 of file BPHOniaToMuMuBuilder.cc.
References BPHOniaToMuMuBuilder::OniaParameters::chi2Sel, ResonanceBuilder::mass, BPHOniaToMuMuBuilder::OniaParameters::mass, BPHOniaToMuMuBuilder::OniaParameters::massSel, oniaPar, BPHOniaToMuMuBuilder::OniaParameters::sigma, and BPHOniaToMuMuBuilder::OniaParameters::updated.
Referenced by BPHOniaToMuMuBuilder().
void BPHOniaToMuMuBuilder::setProbMin | ( | oniaType | type, |
double | p | ||
) |
Definition at line 199 of file BPHOniaToMuMuBuilder.cc.
References BPHOniaToMuMuBuilder::OniaParameters::chi2Sel, oniaPar, setNotUpdated(), and BPHChi2Select::setProbMin().
Referenced by BPHWriteSpecificDecay::fill().
void BPHOniaToMuMuBuilder::setPtMin | ( | oniaType | type, |
double | pt | ||
) |
set cuts
Definition at line 167 of file BPHOniaToMuMuBuilder.cc.
References oniaPar, BPHOniaToMuMuBuilder::OniaParameters::ptSel, setNotUpdated(), and BPHParticlePtSelect::setPtMin().
Referenced by BPHWriteSpecificDecay::fill().
|
private |
Definition at line 106 of file BPHOniaToMuMuBuilder.h.
Referenced by build(), and extractList().
|
private |
Definition at line 123 of file BPHOniaToMuMuBuilder.h.
Referenced by build(), extractList(), and getOriginalCandidate().
|
private |
Definition at line 104 of file BPHOniaToMuMuBuilder.h.
Referenced by build(), getList(), and getOriginalCandidate().
|
private |
Definition at line 103 of file BPHOniaToMuMuBuilder.h.
Referenced by build(), getList(), and getOriginalCandidate().
|
private |
Definition at line 108 of file BPHOniaToMuMuBuilder.h.
Referenced by build().
|
private |
Definition at line 122 of file BPHOniaToMuMuBuilder.h.
Referenced by extractList(), and getList().
|
private |
Definition at line 121 of file BPHOniaToMuMuBuilder.h.
Referenced by build(), extractList(), getConstrMass(), getConstrSigma(), getEtaMax(), getMassMax(), getMassMin(), getProbMin(), getPtMin(), setConstr(), setEtaMax(), setMassMax(), setMassMin(), setNotUpdated(), setParameters(), setProbMin(), setPtMin(), and ~BPHOniaToMuMuBuilder().
|
private |
Definition at line 107 of file BPHOniaToMuMuBuilder.h.
Referenced by build().
|
private |
Definition at line 119 of file BPHOniaToMuMuBuilder.h.
Referenced by BPHOniaToMuMuBuilder(), build(), extractList(), and setNotUpdated().