#include <BPHOniaToMuMuBuilder.h>
Classes | |
struct | OniaParameters |
Public Types | |
enum | oniaType { NRes, Phi, Psi1, Psi2, Ups, Ups1, Ups2, Ups3 } |
Public Types inherited from BPHDecayGenericBuilder< BPHPlusMinusCandidate > | |
typedef BPHPlusMinusCandidate ::const_pointer | prod_ptr |
Private Member Functions | |
void | extractList (oniaType type) |
void | setNotUpdated () |
void | setParameters (oniaType type, double ptMin, double etaMax, double massMin, double massMax, double probMin, double mass, double sigma) |
Private Attributes | |
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 |
Additional Inherited Members | |
Protected Member Functions inherited from BPHDecayGenericBuilder< BPHPlusMinusCandidate > | |
BPHDecayGenericBuilder () | |
Protected Attributes inherited from BPHDecayGenericBuilderBase | |
BPHChi2Select * | chi2Sel |
const BPHEventSetupWrapper * | evSetup |
BPHMassSelect * | massSel |
BPHMassFitSelect * | mFitSel |
double | minPDiff |
bool | outdated |
Protected Attributes inherited from BPHDecayGenericBuilder< BPHPlusMinusCandidate > | |
std::vector< prod_ptr > | recList |
Description: Class to build Psi(1,2) and Upsilon(1,2,3) candidates
Definition at line 45 of file BPHOniaToMuMuBuilder.h.
Enumerator | |
---|---|
NRes | |
Phi | |
Psi1 | |
Psi2 | |
Ups | |
Ups1 | |
Ups2 | |
Ups3 |
Definition at line 48 of file BPHOniaToMuMuBuilder.h.
BPHOniaToMuMuBuilder::BPHOniaToMuMuBuilder | ( | const BPHEventSetupWrapper & | es, |
const BPHRecoBuilder::BPHGenericCollection * | muPosCollection, | ||
const BPHRecoBuilder::BPHGenericCollection * | muNegCollection | ||
) |
Constructor
Definition at line 38 of file BPHOniaToMuMuBuilder.cc.
References BPHParticleMasses::jPsiMass, BPHParticleMasses::jPsiMWidth, NRes, BPHDecayGenericBuilderBase::outdated, Phi, BPHParticleMasses::phiMass, BPHParticleMasses::phiMWidth, Psi1, Psi2, BPHParticleMasses::psi2Mass, BPHParticleMasses::psi2MWidth, setParameters(), Ups, Ups1, BPHParticleMasses::ups1Mass, BPHParticleMasses::ups1MWidth, Ups2, BPHParticleMasses::ups2Mass, BPHParticleMasses::ups2MWidth, Ups3, BPHParticleMasses::ups3Mass, and BPHParticleMasses::ups3MWidth.
|
delete |
|
override |
Destructor
Definition at line 60 of file BPHOniaToMuMuBuilder.cc.
References BPHOniaToMuMuBuilder::OniaParameters::chi2Sel, BPHOniaToMuMuBuilder::OniaParameters::etaSel, BPHOniaToMuMuBuilder::OniaParameters::massSel, oniaPar, and BPHOniaToMuMuBuilder::OniaParameters::ptSel.
|
private |
Definition at line 284 of file BPHOniaToMuMuBuilder.cc.
References BPHMuonPtSelect::accept(), BPHMuonEtaSelect::accept(), BPHMassSelect::accept(), BPHChi2Select::accept(), BPHDecayGenericBuilder< BPHPlusMinusCandidate >::build(), BPHOniaToMuMuBuilder::OniaParameters::chi2Sel, BPHOniaToMuMuBuilder::OniaParameters::etaSel, BPHDecayGenericBuilderBase::evSetup, mps_fire::i, BPHOniaToMuMuBuilder::OniaParameters::mass, BPHOniaToMuMuBuilder::OniaParameters::massSel, BPHParticleMasses::muonMass, BPHParticleMasses::muonMSigma, dqmiodumpmetadata::n, np, oniaList, oniaPar, BPHOniaToMuMuBuilder::OniaParameters::outdated, BPHOniaToMuMuBuilder::OniaParameters::ptSel, BPHDecayGenericBuilder< BPHPlusMinusCandidate >::recList, and BPHOniaToMuMuBuilder::OniaParameters::sigma.
Referenced by getList().
|
overridevirtual |
build resonance candidates
Operations
Implements BPHDecayGenericBuilderBase.
Definition at line 75 of file BPHOniaToMuMuBuilder.cc.
References accept(), BPHRecoBuilder::add(), BPHPlusMinusCandidate::build(), c, BPHOniaToMuMuBuilder::OniaParameters::chi2Sel, MillePedeFileConverter_cfg::e, ALCARECOTkAlBeamHalo_cff::etaMax, BPHOniaToMuMuBuilder::OniaParameters::etaSel, BPHDecayGenericBuilderBase::evSetup, BPHRecoBuilder::filter(), BPHParticleEtaSelect::getEtaMax(), BPHParticlePtSelect::getPtMin(), BPHOniaToMuMuBuilder::OniaParameters::massSel, muNegName, BPHParticleMasses::muonMass, BPHParticleMasses::muonMSigma, muPosName, dqmiodumpmetadata::n, negCollection, NRes, oniaPar, BPHSelectOperation::or_mode, AlCaHLTBitMon_ParallelJobs::p, posCollection, ptMin, BPHOniaToMuMuBuilder::OniaParameters::ptSel, BPHDecayGenericBuilder< BPHPlusMinusCandidate >::recList, and alignCSCRings::s.
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 252 of file BPHOniaToMuMuBuilder.cc.
References oniaPar, and BPHOniaToMuMuBuilder::OniaParameters::sigma.
Referenced by BPHWriteSpecificDecay::fill().
double BPHOniaToMuMuBuilder::getEtaMax | ( | oniaType | type | ) | const |
Definition at line 227 of file BPHOniaToMuMuBuilder.cc.
References BPHOniaToMuMuBuilder::OniaParameters::etaSel, BPHParticleEtaSelect::getEtaMax(), and oniaPar.
vector< BPHPlusMinusConstCandPtr > BPHOniaToMuMuBuilder::getList | ( | oniaType | type, |
BPHRecoSelect * | dSel = nullptr , |
||
BPHMomentumSelect * | mSel = nullptr , |
||
BPHVertexSelect * | vSel = nullptr , |
||
BPHFitSelect * | kSel = nullptr |
||
) |
extract list of candidates of specific type candidates are rebuilt applying corresponding mass constraint
Definition at line 133 of file BPHOniaToMuMuBuilder.cc.
References BPHMomentumSelect::accept(), BPHVertexSelect::accept(), BPHFitSelect::accept(), BPHRecoSelect::accept(), extractList(), mps_fire::i, muNegName, muPosName, dqmiodumpmetadata::n, and oniaList.
Referenced by BPHWriteSpecificDecay::fill().
double BPHOniaToMuMuBuilder::getMassMax | ( | oniaType | type | ) | const |
Definition at line 237 of file BPHOniaToMuMuBuilder.cc.
References BPHMassCuts::getMassMax(), BPHOniaToMuMuBuilder::OniaParameters::massSel, and oniaPar.
double BPHOniaToMuMuBuilder::getMassMin | ( | oniaType | type | ) | const |
Definition at line 232 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 160 of file BPHOniaToMuMuBuilder.cc.
References BPHDecayMomentum::getDaug(), muNegName, muPosName, BPHDecayMomentum::originalReco(), and BPHDecayGenericBuilder< BPHPlusMinusCandidate >::recList.
double BPHOniaToMuMuBuilder::getProbMin | ( | oniaType | type | ) | const |
Definition at line 242 of file BPHOniaToMuMuBuilder.cc.
References BPHOniaToMuMuBuilder::OniaParameters::chi2Sel, BPHChi2Select::getProbMin(), and oniaPar.
double BPHOniaToMuMuBuilder::getPtMin | ( | oniaType | type | ) | const |
get current cuts
Definition at line 222 of file BPHOniaToMuMuBuilder.cc.
References BPHParticlePtSelect::getPtMin(), oniaPar, and BPHOniaToMuMuBuilder::OniaParameters::ptSel.
|
delete |
void BPHOniaToMuMuBuilder::setConstr | ( | oniaType | type, |
double | mass, | ||
double | sigma | ||
) |
Definition at line 213 of file BPHOniaToMuMuBuilder.cc.
References EgHLTOffHistBins_cfi::mass, BPHOniaToMuMuBuilder::OniaParameters::mass, oniaPar, setNotUpdated(), and BPHOniaToMuMuBuilder::OniaParameters::sigma.
Referenced by BPHWriteSpecificDecay::fill().
void BPHOniaToMuMuBuilder::setEtaMax | ( | oniaType | type, |
double | eta | ||
) |
Definition at line 185 of file BPHOniaToMuMuBuilder.cc.
References PVValHelper::eta, BPHOniaToMuMuBuilder::OniaParameters::etaSel, oniaPar, BPHParticleEtaSelect::setEtaMax(), and setNotUpdated().
Referenced by BPHWriteSpecificDecay::fill().
void BPHOniaToMuMuBuilder::setMassMax | ( | oniaType | type, |
double | m | ||
) |
Definition at line 199 of file BPHOniaToMuMuBuilder.cc.
References visualization-live-secondInstance_cfg::m, BPHOniaToMuMuBuilder::OniaParameters::massSel, oniaPar, BPHMassCuts::setMassMax(), and setNotUpdated().
Referenced by BPHWriteSpecificDecay::fill().
void BPHOniaToMuMuBuilder::setMassMin | ( | oniaType | type, |
double | m | ||
) |
Definition at line 192 of file BPHOniaToMuMuBuilder.cc.
References visualization-live-secondInstance_cfg::m, BPHOniaToMuMuBuilder::OniaParameters::massSel, oniaPar, BPHMassCuts::setMassMin(), and setNotUpdated().
Referenced by BPHWriteSpecificDecay::fill().
|
private |
Definition at line 257 of file BPHOniaToMuMuBuilder.cc.
References oniaPar.
Referenced by setConstr(), setEtaMax(), setMassMax(), setMassMin(), setProbMin(), and setPtMin().
|
private |
Definition at line 265 of file BPHOniaToMuMuBuilder.cc.
References BPHOniaToMuMuBuilder::OniaParameters::chi2Sel, ALCARECOTkAlBeamHalo_cff::etaMax, BPHOniaToMuMuBuilder::OniaParameters::etaSel, EgHLTOffHistBins_cfi::mass, BPHOniaToMuMuBuilder::OniaParameters::mass, vertexSelectForHeavyFlavorDQM_cfi::massMax, vertexSelectForHeavyFlavorDQM_cfi::massMin, BPHOniaToMuMuBuilder::OniaParameters::massSel, oniaPar, BPHOniaToMuMuBuilder::OniaParameters::outdated, vertexSelectForHeavyFlavorDQM_cfi::probMin, ptMin, BPHOniaToMuMuBuilder::OniaParameters::ptSel, and BPHOniaToMuMuBuilder::OniaParameters::sigma.
Referenced by BPHOniaToMuMuBuilder().
void BPHOniaToMuMuBuilder::setProbMin | ( | oniaType | type, |
double | p | ||
) |
Definition at line 206 of file BPHOniaToMuMuBuilder.cc.
References BPHOniaToMuMuBuilder::OniaParameters::chi2Sel, oniaPar, AlCaHLTBitMon_ParallelJobs::p, setNotUpdated(), and BPHChi2Select::setProbMin().
Referenced by BPHWriteSpecificDecay::fill().
void BPHOniaToMuMuBuilder::setPtMin | ( | oniaType | type, |
double | pt | ||
) |
set cuts
Definition at line 178 of file BPHOniaToMuMuBuilder.cc.
References oniaPar, DiDispStaMuonMonitor_cfi::pt, BPHOniaToMuMuBuilder::OniaParameters::ptSel, setNotUpdated(), and BPHParticlePtSelect::setPtMin().
Referenced by BPHWriteSpecificDecay::fill().
|
private |
Definition at line 100 of file BPHOniaToMuMuBuilder.h.
Referenced by fillRecList(), getList(), and getOriginalCandidate().
|
private |
Definition at line 99 of file BPHOniaToMuMuBuilder.h.
Referenced by fillRecList(), getList(), and getOriginalCandidate().
|
private |
Definition at line 103 of file BPHOniaToMuMuBuilder.h.
Referenced by fillRecList().
|
private |
Definition at line 116 of file BPHOniaToMuMuBuilder.h.
Referenced by extractList(), and getList().
|
private |
Definition at line 115 of file BPHOniaToMuMuBuilder.h.
Referenced by extractList(), fillRecList(), getConstrMass(), getConstrSigma(), getEtaMax(), getMassMax(), getMassMin(), getProbMin(), getPtMin(), setConstr(), setEtaMax(), setMassMax(), setMassMin(), setNotUpdated(), setParameters(), setProbMin(), setPtMin(), and ~BPHOniaToMuMuBuilder().
|
private |
Definition at line 102 of file BPHOniaToMuMuBuilder.h.
Referenced by fillRecList().