#include <BPHOniaToMuMuBuilder.h>
Classes | |
struct | OniaParameters |
Public Types | |
enum | oniaType { Phi, Psi1, Psi2, Ups, Ups1, Ups2, Ups3 } |
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 | |
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 44 of file BPHOniaToMuMuBuilder.h.
BPHOniaToMuMuBuilder::BPHOniaToMuMuBuilder | ( | const edm::EventSetup & | es, |
const BPHRecoBuilder::BPHGenericCollection * | muPosCollection, | ||
const BPHRecoBuilder::BPHGenericCollection * | muNegCollection | ||
) |
Constructor
Definition at line 38 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.
|
delete |
|
virtual |
Destructor
Definition at line 59 of file BPHOniaToMuMuBuilder.cc.
References BPHOniaToMuMuBuilder::OniaParameters::chi2Sel, BPHOniaToMuMuBuilder::OniaParameters::etaSel, BPHOniaToMuMuBuilder::OniaParameters::massSel, oniaPar, and BPHOniaToMuMuBuilder::OniaParameters::ptSel.
vector< BPHPlusMinusConstCandPtr > BPHOniaToMuMuBuilder::build | ( | ) |
build resonance candidates
Operations
Definition at line 74 of file BPHOniaToMuMuBuilder.cc.
References BPHRecoBuilder::add(), BPHPlusMinusCandidate::build(), BPHOniaToMuMuBuilder::OniaParameters::chi2Sel, BPHOniaToMuMuBuilder::OniaParameters::etaSel, evSetup, BPHRecoBuilder::filter(), fullList, BPHOniaToMuMuBuilder::OniaParameters::massSel, muNegName, BPHParticleMasses::muonMass, BPHParticleMasses::muonMSigma, muPosName, negCollection, oniaPar, BPHSelectOperation::or_mode, posCollection, BPHOniaToMuMuBuilder::OniaParameters::ptSel, and updated.
Referenced by extractList(), and BPHWriteSpecificDecay::fill().
|
private |
Definition at line 262 of file BPHOniaToMuMuBuilder.cc.
References BPHMuonPtSelect::accept(), BPHMuonEtaSelect::accept(), BPHChi2Select::accept(), BPHMassSelect::accept(), build(), BPHOniaToMuMuBuilder::OniaParameters::chi2Sel, BPHOniaToMuMuBuilder::OniaParameters::etaSel, evSetup, fullList, mps_fire::i, BPHOniaToMuMuBuilder::OniaParameters::mass, BPHOniaToMuMuBuilder::OniaParameters::massSel, BPHParticleMasses::muonMass, BPHParticleMasses::muonMSigma, dqmiodumpmetadata::n, np, oniaList, oniaPar, BPHOniaToMuMuBuilder::OniaParameters::ptSel, BPHOniaToMuMuBuilder::OniaParameters::sigma, BPHOniaToMuMuBuilder::OniaParameters::updated, and updated.
Referenced by getList().
double BPHOniaToMuMuBuilder::getConstrMass | ( | oniaType | type | ) | const |
Definition at line 224 of file BPHOniaToMuMuBuilder.cc.
References BPHOniaToMuMuBuilder::OniaParameters::mass, and oniaPar.
Referenced by BPHWriteSpecificDecay::fill().
double BPHOniaToMuMuBuilder::getConstrSigma | ( | oniaType | type | ) | const |
Definition at line 229 of file BPHOniaToMuMuBuilder.cc.
References oniaPar, and BPHOniaToMuMuBuilder::OniaParameters::sigma.
Referenced by BPHWriteSpecificDecay::fill().
double BPHOniaToMuMuBuilder::getEtaMax | ( | oniaType | type | ) | const |
Definition at line 204 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 110 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 214 of file BPHOniaToMuMuBuilder.cc.
References BPHMassCuts::getMassMax(), BPHOniaToMuMuBuilder::OniaParameters::massSel, and oniaPar.
double BPHOniaToMuMuBuilder::getMassMin | ( | oniaType | type | ) | const |
Definition at line 209 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 137 of file BPHOniaToMuMuBuilder.cc.
References fullList, BPHDecayMomentum::getDaug(), muNegName, muPosName, and BPHDecayMomentum::originalReco().
double BPHOniaToMuMuBuilder::getProbMin | ( | oniaType | type | ) | const |
Definition at line 219 of file BPHOniaToMuMuBuilder.cc.
References BPHOniaToMuMuBuilder::OniaParameters::chi2Sel, BPHChi2Select::getProbMin(), and oniaPar.
double BPHOniaToMuMuBuilder::getPtMin | ( | oniaType | type | ) | const |
get current cuts
Definition at line 199 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 190 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 162 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 176 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 169 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 234 of file BPHOniaToMuMuBuilder.cc.
References oniaPar, and updated.
Referenced by setConstr(), setEtaMax(), setMassMax(), setMassMin(), setProbMin(), and setPtMin().
|
private |
Definition at line 243 of file BPHOniaToMuMuBuilder.cc.
References BPHOniaToMuMuBuilder::OniaParameters::chi2Sel, ALCARECOTkAlBeamHalo_cff::etaMax, BPHOniaToMuMuBuilder::OniaParameters::etaSel, EgHLTOffHistBins_cfi::mass, BPHOniaToMuMuBuilder::OniaParameters::mass, recoSelectForWrite_cfi::massMax, recoSelectForWrite_cfi::massMin, BPHOniaToMuMuBuilder::OniaParameters::massSel, oniaPar, recoSelectForWrite_cfi::probMin, ptMin, BPHOniaToMuMuBuilder::OniaParameters::ptSel, BPHOniaToMuMuBuilder::OniaParameters::sigma, and BPHOniaToMuMuBuilder::OniaParameters::updated.
Referenced by BPHOniaToMuMuBuilder().
void BPHOniaToMuMuBuilder::setProbMin | ( | oniaType | type, |
double | p | ||
) |
Definition at line 183 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 155 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 build(), and extractList().
|
private |
Definition at line 117 of file BPHOniaToMuMuBuilder.h.
Referenced by build(), extractList(), and getOriginalCandidate().
|
private |
Definition at line 98 of file BPHOniaToMuMuBuilder.h.
Referenced by build(), getList(), and getOriginalCandidate().
|
private |
Definition at line 97 of file BPHOniaToMuMuBuilder.h.
Referenced by build(), getList(), and getOriginalCandidate().
|
private |
Definition at line 102 of file BPHOniaToMuMuBuilder.h.
Referenced by build().
|
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 build(), extractList(), getConstrMass(), getConstrSigma(), getEtaMax(), getMassMax(), getMassMin(), getProbMin(), getPtMin(), setConstr(), setEtaMax(), setMassMax(), setMassMin(), setNotUpdated(), setParameters(), setProbMin(), setPtMin(), and ~BPHOniaToMuMuBuilder().
|
private |
Definition at line 101 of file BPHOniaToMuMuBuilder.h.
Referenced by build().
|
private |
Definition at line 113 of file BPHOniaToMuMuBuilder.h.
Referenced by BPHOniaToMuMuBuilder(), build(), extractList(), and setNotUpdated().