#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 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.
|
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.
|
privatedelete |
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, BPHMultiSelectBase< T >::include(), 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 260 of file BPHOniaToMuMuBuilder.cc.
References BPHMuonPtSelect::accept(), BPHMuonEtaSelect::accept(), BPHChi2Select::accept(), BPHMassSelect::accept(), BPHPlusMinusCandidate::add(), build(), BPHOniaToMuMuBuilder::OniaParameters::chi2Sel, BPHOniaToMuMuBuilder::OniaParameters::etaSel, evSetup, fullList, mps_fire::i, list(), BPHOniaToMuMuBuilder::OniaParameters::mass, BPHOniaToMuMuBuilder::OniaParameters::massSel, BPHParticleMasses::muonMass, dqmiodumpmetadata::n, np, oniaList, oniaPar, BPHOniaToMuMuBuilder::OniaParameters::ptSel, BPHKinematicFit::setConstraint(), BPHOniaToMuMuBuilder::OniaParameters::sigma, BPHOniaToMuMuBuilder::OniaParameters::updated, and updated.
Referenced by getList().
double BPHOniaToMuMuBuilder::getConstrMass | ( | oniaType | type | ) | const |
Definition at line 222 of file BPHOniaToMuMuBuilder.cc.
References BPHOniaToMuMuBuilder::OniaParameters::mass, and oniaPar.
Referenced by BPHWriteSpecificDecay::fill().
double BPHOniaToMuMuBuilder::getConstrSigma | ( | oniaType | type | ) | const |
Definition at line 227 of file BPHOniaToMuMuBuilder.cc.
References oniaPar, and BPHOniaToMuMuBuilder::OniaParameters::sigma.
Referenced by BPHWriteSpecificDecay::fill().
double BPHOniaToMuMuBuilder::getEtaMax | ( | oniaType | type | ) | const |
Definition at line 202 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 108 of file BPHOniaToMuMuBuilder.cc.
References BPHMomentumSelect::accept(), BPHVertexSelect::accept(), BPHFitSelect::accept(), BPHRecoSelect::accept(), extractList(), mps_fire::i, list(), muNegName, muPosName, dqmiodumpmetadata::n, and oniaList.
Referenced by BPHWriteSpecificDecay::fill().
double BPHOniaToMuMuBuilder::getMassMax | ( | oniaType | type | ) | const |
Definition at line 212 of file BPHOniaToMuMuBuilder.cc.
References BPHMassCuts::getMassMax(), BPHOniaToMuMuBuilder::OniaParameters::massSel, and oniaPar.
double BPHOniaToMuMuBuilder::getMassMin | ( | oniaType | type | ) | const |
Definition at line 207 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 135 of file BPHOniaToMuMuBuilder.cc.
References fullList, BPHDecayMomentum::getDaug(), muNegName, muPosName, and BPHDecayMomentum::originalReco().
double BPHOniaToMuMuBuilder::getProbMin | ( | oniaType | type | ) | const |
Definition at line 217 of file BPHOniaToMuMuBuilder.cc.
References BPHOniaToMuMuBuilder::OniaParameters::chi2Sel, BPHChi2Select::getProbMin(), and oniaPar.
double BPHOniaToMuMuBuilder::getPtMin | ( | oniaType | type | ) | const |
get current cuts
Definition at line 197 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 188 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 160 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 174 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 167 of file BPHOniaToMuMuBuilder.cc.
References BPHOniaToMuMuBuilder::OniaParameters::massSel, oniaPar, BPHMassCuts::setMassMin(), and setNotUpdated().
Referenced by BPHWriteSpecificDecay::fill().
|
private |
Definition at line 232 of file BPHOniaToMuMuBuilder.cc.
References oniaPar, and updated.
Referenced by setConstr(), setEtaMax(), setMassMax(), setMassMin(), setProbMin(), and setPtMin().
|
private |
Definition at line 241 of file BPHOniaToMuMuBuilder.cc.
References BPHOniaToMuMuBuilder::OniaParameters::chi2Sel, BPHOniaToMuMuBuilder::OniaParameters::etaSel, EgHLTOffHistBins_cfi::mass, BPHOniaToMuMuBuilder::OniaParameters::mass, BPHOniaToMuMuBuilder::OniaParameters::massSel, oniaPar, BPHOniaToMuMuBuilder::OniaParameters::ptSel, BPHOniaToMuMuBuilder::OniaParameters::sigma, and BPHOniaToMuMuBuilder::OniaParameters::updated.
Referenced by BPHOniaToMuMuBuilder().
void BPHOniaToMuMuBuilder::setProbMin | ( | oniaType | type, |
double | p | ||
) |
Definition at line 181 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 153 of file BPHOniaToMuMuBuilder.cc.
References oniaPar, 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().