CMS 3D CMS Logo

List of all members | Classes | Public Types | Public Member Functions | Private Member Functions | Private Attributes
BPHOniaToMuMuBuilder Class Reference

#include <BPHOniaToMuMuBuilder.h>

Classes

struct  OniaParameters
 

Public Types

enum  oniaType {
  Phi, Psi1, Psi2, Ups,
  Ups1, Ups2, Ups3
}
 

Public Member Functions

 BPHOniaToMuMuBuilder (const BPHOniaToMuMuBuilder &x)=delete
 
 BPHOniaToMuMuBuilder (const edm::EventSetup &es, const BPHRecoBuilder::BPHGenericCollection *muPosCollection, const BPHRecoBuilder::BPHGenericCollection *muNegCollection)
 
std::vector< BPHPlusMinusConstCandPtrbuild ()
 build resonance candidates More...
 
double getConstrMass (oniaType type) const
 
double getConstrSigma (oniaType type) const
 
double getEtaMax (oniaType type) const
 
std::vector< BPHPlusMinusConstCandPtrgetList (oniaType type, BPHRecoSelect *dSel=nullptr, BPHMomentumSelect *mSel=nullptr, BPHVertexSelect *vSel=nullptr, BPHFitSelect *kSel=nullptr)
 
double getMassMax (oniaType type) const
 
double getMassMin (oniaType type) const
 
BPHPlusMinusConstCandPtr getOriginalCandidate (const BPHRecoCandidate &cand)
 
double getProbMin (oniaType type) const
 
double getPtMin (oniaType type) const
 get current cuts More...
 
BPHOniaToMuMuBuilderoperator= (const BPHOniaToMuMuBuilder &x)=delete
 
void setConstr (oniaType type, double mass, double sigma)
 
void setEtaMax (oniaType type, double eta)
 
void setMassMax (oniaType type, double m)
 
void setMassMin (oniaType type, double m)
 
void setProbMin (oniaType type, double p)
 
void setPtMin (oniaType type, double pt)
 set cuts More...
 
virtual ~BPHOniaToMuMuBuilder ()
 

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::EventSetupevSetup
 
std::vector< BPHPlusMinusConstCandPtrfullList
 
std::string muNegName
 
std::string muPosName
 
const BPHRecoBuilder::BPHGenericCollectionnegCollection
 
std::map< oniaType, std::vector< BPHPlusMinusConstCandPtr > > oniaList
 
std::map< oniaType, OniaParametersoniaPar
 
const BPHRecoBuilder::BPHGenericCollectionposCollection
 
bool updated
 

Detailed Description

Description: Class to build Psi(1,2) and Upsilon(1,2,3) candidates

Author
Paolo Ronchese INFN Padova

Definition at line 44 of file BPHOniaToMuMuBuilder.h.

Member Enumeration Documentation

◆ oniaType

Enumerator
Phi 
Psi1 
Psi2 
Ups 
Ups1 
Ups2 
Ups3 

Definition at line 46 of file BPHOniaToMuMuBuilder.h.

46 { Phi, Psi1, Psi2, Ups, Ups1, Ups2, Ups3 };

Constructor & Destructor Documentation

◆ BPHOniaToMuMuBuilder() [1/2]

BPHOniaToMuMuBuilder::BPHOniaToMuMuBuilder ( const edm::EventSetup es,
const BPHRecoBuilder::BPHGenericCollection muPosCollection,
const BPHRecoBuilder::BPHGenericCollection muNegCollection 
)

◆ BPHOniaToMuMuBuilder() [2/2]

BPHOniaToMuMuBuilder::BPHOniaToMuMuBuilder ( const BPHOniaToMuMuBuilder x)
delete

◆ ~BPHOniaToMuMuBuilder()

BPHOniaToMuMuBuilder::~BPHOniaToMuMuBuilder ( )
virtual

Destructor

Definition at line 59 of file BPHOniaToMuMuBuilder.cc.

59  {
60  map<oniaType, OniaParameters>::iterator iter = oniaPar.begin();
61  map<oniaType, OniaParameters>::iterator iend = oniaPar.end();
62  while (iter != iend) {
63  OniaParameters& par = iter++->second;
64  delete par.ptSel;
65  delete par.etaSel;
66  delete par.massSel;
67  delete par.chi2Sel;
68  }
69 }

References BPHOniaToMuMuBuilder::OniaParameters::chi2Sel, BPHOniaToMuMuBuilder::OniaParameters::etaSel, BPHOniaToMuMuBuilder::OniaParameters::massSel, oniaPar, and BPHOniaToMuMuBuilder::OniaParameters::ptSel.

Member Function Documentation

◆ build()

vector< BPHPlusMinusConstCandPtr > BPHOniaToMuMuBuilder::build ( )

build resonance candidates

Operations

Definition at line 74 of file BPHOniaToMuMuBuilder.cc.

74  {
75  if (updated)
76  return fullList;
77 
78  fullList.clear();
79 
84 
85  map<oniaType, OniaParameters>::iterator iter = oniaPar.begin();
86  map<oniaType, OniaParameters>::iterator iend = oniaPar.end();
87  while (iter != iend) {
88  OniaParameters& par = iter++->second;
89  ptSel.include(*par.ptSel);
90  etaSel.include(*par.etaSel);
91  mSel.include(*par.massSel);
92  vSel.include(*par.chi2Sel);
93  }
94 
95  BPHRecoBuilder bOnia(*evSetup);
98  bOnia.filter(muPosName, ptSel);
99  bOnia.filter(muNegName, ptSel);
100  bOnia.filter(muPosName, etaSel);
101  bOnia.filter(muNegName, etaSel);
102  bOnia.filter(mSel);
103  bOnia.filter(vSel);
104 
106  updated = true;
107  return fullList;
108 }

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().

◆ extractList()

void BPHOniaToMuMuBuilder::extractList ( oniaType  type)
private

Definition at line 262 of file BPHOniaToMuMuBuilder.cc.

262  {
263  if (!updated)
264  build();
265  OniaParameters& par = oniaPar[type];
266  vector<BPHPlusMinusConstCandPtr>& list = oniaList[type];
267  if (par.updated)
268  return;
269  int i;
270  int n = fullList.size();
271  list.clear();
272  list.reserve(n);
273  for (i = 0; i < n; ++i) {
275  const reco::Candidate* mcPos = ptr->getDaug("MuPos");
276  const reco::Candidate* mcNeg = ptr->getDaug("MuNeg");
277  const reco::Candidate* muPos = ptr->originalReco(mcPos);
278  const reco::Candidate* muNeg = ptr->originalReco(mcNeg);
279  if (!par.massSel->accept(*ptr))
280  continue;
281  if (!par.ptSel->accept(*muPos))
282  continue;
283  if (!par.etaSel->accept(*muPos))
284  continue;
285  if (!par.ptSel->accept(*muNeg))
286  continue;
287  if (!par.etaSel->accept(*muNeg))
288  continue;
289  if (!par.chi2Sel->accept(*ptr))
290  continue;
292  np->add("MuPos", muPos, ptr->getTrackSearchList(mcPos), BPHParticleMasses::muonMass, BPHParticleMasses::muonMSigma);
293  np->add("MuNeg", muNeg, ptr->getTrackSearchList(mcNeg), BPHParticleMasses::muonMass, BPHParticleMasses::muonMSigma);
294  if (par.mass > 0.0)
295  np->setConstraint(par.mass, par.sigma);
296  list.push_back(BPHPlusMinusConstCandPtr(np));
297  }
298  par.updated = true;
299  return;
300 }

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().

◆ getConstrMass()

double BPHOniaToMuMuBuilder::getConstrMass ( oniaType  type) const

Definition at line 224 of file BPHOniaToMuMuBuilder.cc.

224  {
225  const OniaParameters& par = oniaPar.at(type);
226  return par.mass;
227 }

References BPHOniaToMuMuBuilder::OniaParameters::mass, and oniaPar.

Referenced by BPHWriteSpecificDecay::fill().

◆ getConstrSigma()

double BPHOniaToMuMuBuilder::getConstrSigma ( oniaType  type) const

Definition at line 229 of file BPHOniaToMuMuBuilder.cc.

229  {
230  const OniaParameters& par = oniaPar.at(type);
231  return par.sigma;
232 }

References oniaPar, and BPHOniaToMuMuBuilder::OniaParameters::sigma.

Referenced by BPHWriteSpecificDecay::fill().

◆ getEtaMax()

double BPHOniaToMuMuBuilder::getEtaMax ( oniaType  type) const

Definition at line 204 of file BPHOniaToMuMuBuilder.cc.

204  {
205  const OniaParameters& par = oniaPar.at(type);
206  return par.etaSel->getEtaMax();
207 }

References BPHOniaToMuMuBuilder::OniaParameters::etaSel, BPHParticleEtaSelect::getEtaMax(), and oniaPar.

◆ getList()

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.

111  {
112  extractList(type);
113  vector<BPHPlusMinusConstCandPtr>& list = oniaList[type];
114  int i;
115  int n = list.size();
116  vector<BPHPlusMinusConstCandPtr> lsub;
117  lsub.reserve(n);
118  for (i = 0; i < n; ++i) {
119  BPHPlusMinusConstCandPtr ptr = list[i];
120  const reco::Candidate* muPos = ptr->originalReco(ptr->getDaug(muPosName));
121  const reco::Candidate* muNeg = ptr->originalReco(ptr->getDaug(muNegName));
122  if ((dSel != nullptr) && (!dSel->accept(*muPos)))
123  continue;
124  if ((dSel != nullptr) && (!dSel->accept(*muNeg)))
125  continue;
126  if ((mSel != nullptr) && (!mSel->accept(*ptr)))
127  continue;
128  if ((vSel != nullptr) && (!vSel->accept(*ptr)))
129  continue;
130  if ((kSel != nullptr) && (!kSel->accept(*ptr)))
131  continue;
132  lsub.push_back(list[i]);
133  }
134  return lsub;
135 }

References BPHMomentumSelect::accept(), BPHVertexSelect::accept(), BPHFitSelect::accept(), BPHRecoSelect::accept(), extractList(), mps_fire::i, muNegName, muPosName, dqmiodumpmetadata::n, and oniaList.

Referenced by BPHWriteSpecificDecay::fill().

◆ getMassMax()

double BPHOniaToMuMuBuilder::getMassMax ( oniaType  type) const

Definition at line 214 of file BPHOniaToMuMuBuilder.cc.

214  {
215  const OniaParameters& par = oniaPar.at(type);
216  return par.massSel->getMassMax();
217 }

References BPHMassCuts::getMassMax(), BPHOniaToMuMuBuilder::OniaParameters::massSel, and oniaPar.

◆ getMassMin()

double BPHOniaToMuMuBuilder::getMassMin ( oniaType  type) const

Definition at line 209 of file BPHOniaToMuMuBuilder.cc.

209  {
210  const OniaParameters& par = oniaPar.at(type);
211  return par.massSel->getMassMin();
212 }

References BPHMassCuts::getMassMin(), BPHOniaToMuMuBuilder::OniaParameters::massSel, and oniaPar.

◆ getOriginalCandidate()

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.

137  {
138  const reco::Candidate* mp = cand.originalReco(cand.getDaug(muPosName));
139  const reco::Candidate* mn = cand.originalReco(cand.getDaug(muNegName));
140  int nc = fullList.size();
141  int ic;
142  for (ic = 0; ic < nc; ++ic) {
144  const BPHPlusMinusCandidate* pmc = pmp.get();
145  if (pmc->originalReco(pmc->getDaug(muPosName)) != mp)
146  continue;
147  if (pmc->originalReco(pmc->getDaug(muNegName)) != mn)
148  continue;
149  return pmp;
150  }
151  return BPHPlusMinusConstCandPtr(nullptr);
152 }

References fullList, BPHDecayMomentum::getDaug(), muNegName, muPosName, and BPHDecayMomentum::originalReco().

◆ getProbMin()

double BPHOniaToMuMuBuilder::getProbMin ( oniaType  type) const

Definition at line 219 of file BPHOniaToMuMuBuilder.cc.

219  {
220  const OniaParameters& par = oniaPar.at(type);
221  return par.chi2Sel->getProbMin();
222 }

References BPHOniaToMuMuBuilder::OniaParameters::chi2Sel, BPHChi2Select::getProbMin(), and oniaPar.

◆ getPtMin()

double BPHOniaToMuMuBuilder::getPtMin ( oniaType  type) const

get current cuts

Definition at line 199 of file BPHOniaToMuMuBuilder.cc.

199  {
200  const OniaParameters& par = oniaPar.at(type);
201  return par.ptSel->getPtMin();
202 }

References BPHParticlePtSelect::getPtMin(), oniaPar, and BPHOniaToMuMuBuilder::OniaParameters::ptSel.

◆ operator=()

BPHOniaToMuMuBuilder& BPHOniaToMuMuBuilder::operator= ( const BPHOniaToMuMuBuilder x)
delete

◆ setConstr()

void BPHOniaToMuMuBuilder::setConstr ( oniaType  type,
double  mass,
double  sigma 
)

Definition at line 190 of file BPHOniaToMuMuBuilder.cc.

190  {
191  setNotUpdated();
192  OniaParameters& par = oniaPar[type];
193  par.mass = mass;
194  par.sigma = sigma;
195  return;
196 }

References EgHLTOffHistBins_cfi::mass, BPHOniaToMuMuBuilder::OniaParameters::mass, oniaPar, setNotUpdated(), and BPHOniaToMuMuBuilder::OniaParameters::sigma.

Referenced by BPHWriteSpecificDecay::fill().

◆ setEtaMax()

void BPHOniaToMuMuBuilder::setEtaMax ( oniaType  type,
double  eta 
)

Definition at line 162 of file BPHOniaToMuMuBuilder.cc.

162  {
163  setNotUpdated();
164  OniaParameters& par = oniaPar[type];
165  par.etaSel->setEtaMax(eta);
166  return;
167 }

References PVValHelper::eta, BPHOniaToMuMuBuilder::OniaParameters::etaSel, oniaPar, BPHParticleEtaSelect::setEtaMax(), and setNotUpdated().

Referenced by BPHWriteSpecificDecay::fill().

◆ setMassMax()

void BPHOniaToMuMuBuilder::setMassMax ( oniaType  type,
double  m 
)

Definition at line 176 of file BPHOniaToMuMuBuilder.cc.

176  {
177  setNotUpdated();
178  OniaParameters& par = oniaPar[type];
179  par.massSel->setMassMax(m);
180  return;
181 }

References visualization-live-secondInstance_cfg::m, BPHOniaToMuMuBuilder::OniaParameters::massSel, oniaPar, BPHMassCuts::setMassMax(), and setNotUpdated().

Referenced by BPHWriteSpecificDecay::fill().

◆ setMassMin()

void BPHOniaToMuMuBuilder::setMassMin ( oniaType  type,
double  m 
)

Definition at line 169 of file BPHOniaToMuMuBuilder.cc.

169  {
170  setNotUpdated();
171  OniaParameters& par = oniaPar[type];
172  par.massSel->setMassMin(m);
173  return;
174 }

References visualization-live-secondInstance_cfg::m, BPHOniaToMuMuBuilder::OniaParameters::massSel, oniaPar, BPHMassCuts::setMassMin(), and setNotUpdated().

Referenced by BPHWriteSpecificDecay::fill().

◆ setNotUpdated()

void BPHOniaToMuMuBuilder::setNotUpdated ( )
private

Definition at line 234 of file BPHOniaToMuMuBuilder.cc.

234  {
235  map<oniaType, OniaParameters>::iterator iter = oniaPar.begin();
236  map<oniaType, OniaParameters>::iterator iend = oniaPar.end();
237  while (iter != iend)
238  iter++->second.updated = false;
239  updated = false;
240  return;
241 }

References oniaPar, and updated.

Referenced by setConstr(), setEtaMax(), setMassMax(), setMassMin(), setProbMin(), and setPtMin().

◆ setParameters()

void BPHOniaToMuMuBuilder::setParameters ( oniaType  type,
double  ptMin,
double  etaMax,
double  massMin,
double  massMax,
double  probMin,
double  mass,
double  sigma 
)
private

◆ setProbMin()

void BPHOniaToMuMuBuilder::setProbMin ( oniaType  type,
double  p 
)

Definition at line 183 of file BPHOniaToMuMuBuilder.cc.

183  {
184  setNotUpdated();
185  OniaParameters& par = oniaPar[type];
186  par.chi2Sel->setProbMin(p);
187  return;
188 }

References BPHOniaToMuMuBuilder::OniaParameters::chi2Sel, oniaPar, AlCaHLTBitMon_ParallelJobs::p, setNotUpdated(), and BPHChi2Select::setProbMin().

Referenced by BPHWriteSpecificDecay::fill().

◆ setPtMin()

void BPHOniaToMuMuBuilder::setPtMin ( oniaType  type,
double  pt 
)

set cuts

Definition at line 155 of file BPHOniaToMuMuBuilder.cc.

155  {
156  setNotUpdated();
157  OniaParameters& par = oniaPar[type];
158  par.ptSel->setPtMin(pt);
159  return;
160 }

References oniaPar, DiDispStaMuonMonitor_cfi::pt, BPHOniaToMuMuBuilder::OniaParameters::ptSel, setNotUpdated(), and BPHParticlePtSelect::setPtMin().

Referenced by BPHWriteSpecificDecay::fill().

Member Data Documentation

◆ evSetup

const edm::EventSetup* BPHOniaToMuMuBuilder::evSetup
private

Definition at line 100 of file BPHOniaToMuMuBuilder.h.

Referenced by build(), and extractList().

◆ fullList

std::vector<BPHPlusMinusConstCandPtr> BPHOniaToMuMuBuilder::fullList
private

Definition at line 117 of file BPHOniaToMuMuBuilder.h.

Referenced by build(), extractList(), and getOriginalCandidate().

◆ muNegName

std::string BPHOniaToMuMuBuilder::muNegName
private

Definition at line 98 of file BPHOniaToMuMuBuilder.h.

Referenced by build(), getList(), and getOriginalCandidate().

◆ muPosName

std::string BPHOniaToMuMuBuilder::muPosName
private

Definition at line 97 of file BPHOniaToMuMuBuilder.h.

Referenced by build(), getList(), and getOriginalCandidate().

◆ negCollection

const BPHRecoBuilder::BPHGenericCollection* BPHOniaToMuMuBuilder::negCollection
private

Definition at line 102 of file BPHOniaToMuMuBuilder.h.

Referenced by build().

◆ oniaList

std::map<oniaType, std::vector<BPHPlusMinusConstCandPtr> > BPHOniaToMuMuBuilder::oniaList
private

Definition at line 116 of file BPHOniaToMuMuBuilder.h.

Referenced by extractList(), and getList().

◆ oniaPar

std::map<oniaType, OniaParameters> BPHOniaToMuMuBuilder::oniaPar
private

◆ posCollection

const BPHRecoBuilder::BPHGenericCollection* BPHOniaToMuMuBuilder::posCollection
private

Definition at line 101 of file BPHOniaToMuMuBuilder.h.

Referenced by build().

◆ updated

bool BPHOniaToMuMuBuilder::updated
private

Definition at line 113 of file BPHOniaToMuMuBuilder.h.

Referenced by BPHOniaToMuMuBuilder(), build(), extractList(), and setNotUpdated().

BPHOniaToMuMuBuilder::updated
bool updated
Definition: BPHOniaToMuMuBuilder.h:113
BPHParticleMasses::psi2MWidth
static const double psi2MWidth
Definition: BPHParticleMasses.h:56
BPHOniaToMuMuBuilder::Psi1
Definition: BPHOniaToMuMuBuilder.h:46
BPHFitSelect::accept
virtual bool accept(const BPHKinematicFit &cand) const =0
accept function
mps_fire.i
i
Definition: mps_fire.py:428
BPHOniaToMuMuBuilder::Ups3
Definition: BPHOniaToMuMuBuilder.h:46
dqmiodumpmetadata.n
n
Definition: dqmiodumpmetadata.py:28
BPHOniaToMuMuBuilder::setParameters
void setParameters(oniaType type, double ptMin, double etaMax, double massMin, double massMax, double probMin, double mass, double sigma)
Definition: BPHOniaToMuMuBuilder.cc:243
BPHParticleMasses::jPsiMass
static const double jPsiMass
Definition: BPHParticleMasses.h:40
DiDispStaMuonMonitor_cfi.pt
pt
Definition: DiDispStaMuonMonitor_cfi.py:39
recoSelectForWrite_cfi.probMin
probMin
Definition: recoSelectForWrite_cfi.py:8
np
int np
Definition: AMPTWrapper.h:43
ptMin
constexpr float ptMin
Definition: PhotonIDValueMapProducer.cc:155
BPHPlusMinusCandidate
Definition: BPHPlusMinusCandidate.h:32
BPHOniaToMuMuBuilder::setNotUpdated
void setNotUpdated()
Definition: BPHOniaToMuMuBuilder.cc:234
BPHParticleMasses::muonMSigma
static const double muonMSigma
Definition: BPHParticleMasses.h:46
BPHOniaToMuMuBuilder::Ups
Definition: BPHOniaToMuMuBuilder.h:46
BPHMomentumSelect::accept
virtual bool accept(const BPHDecayMomentum &cand) const =0
accept function
BPHDecayMomentum::getDaug
virtual const reco::Candidate * getDaug(const std::string &name) const
Definition: BPHDecayMomentum.cc:94
BPHParticleMasses::ups2Mass
static const double ups2Mass
Definition: BPHParticleMasses.h:43
BPHOniaToMuMuBuilder::Ups2
Definition: BPHOniaToMuMuBuilder.h:46
BPHOniaToMuMuBuilder::Phi
Definition: BPHOniaToMuMuBuilder.h:46
BPHOniaToMuMuBuilder::evSetup
const edm::EventSetup * evSetup
Definition: BPHOniaToMuMuBuilder.h:100
BPHMuonEtaSelect
Definition: BPHMuonEtaSelect.h:30
BPHParticleMasses::ups1MWidth
static const double ups1MWidth
Definition: BPHParticleMasses.h:57
PVValHelper::eta
Definition: PVValidationHelpers.h:70
BPHRecoBuilder
Definition: BPHRecoBuilder.h:50
visualization-live-secondInstance_cfg.m
m
Definition: visualization-live-secondInstance_cfg.py:79
BPHMassSelect
Definition: BPHMassSelect.h:31
AlCaHLTBitMon_ParallelJobs.p
def p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
BPHOniaToMuMuBuilder::oniaList
std::map< oniaType, std::vector< BPHPlusMinusConstCandPtr > > oniaList
Definition: BPHOniaToMuMuBuilder.h:116
BPHOniaToMuMuBuilder::fullList
std::vector< BPHPlusMinusConstCandPtr > fullList
Definition: BPHOniaToMuMuBuilder.h:117
type
type
Definition: SiPixelVCal_PayloadInspector.cc:39
BPHOniaToMuMuBuilder::negCollection
const BPHRecoBuilder::BPHGenericCollection * negCollection
Definition: BPHOniaToMuMuBuilder.h:102
gainCalibHelper::gainCalibPI::type
type
Definition: SiPixelGainCalibHelper.h:40
cand
Definition: decayParser.h:32
BPHMuonPtSelect
Definition: BPHMuonPtSelect.h:30
BPHParticleMasses::ups1Mass
static const double ups1Mass
Definition: BPHParticleMasses.h:42
BPHMultiSelect
Definition: BPHMultiSelect.h:168
BPHChi2Select
Definition: BPHChi2Select.h:31
BPHPlusMinusConstCandPtr
BPHGenericPtr< const BPHPlusMinusCandidate >::type BPHPlusMinusConstCandPtr
Definition: BPHPlusMinusCandidatePtr.h:9
BPHOniaToMuMuBuilder::muPosName
std::string muPosName
Definition: BPHOniaToMuMuBuilder.h:97
BPHParticleMasses::phiMWidth
static const double phiMWidth
Definition: BPHParticleMasses.h:54
BPHParticleMasses::phiMass
static const double phiMass
Definition: BPHParticleMasses.h:39
reco::Candidate
Definition: Candidate.h:27
BPHPlusMinusCandidate::build
static std::vector< BPHPlusMinusConstCandPtr > build(const BPHRecoBuilder &builder, const std::string &nPos, const std::string &nNeg, double mass=-1, double msig=-1)
Definition: BPHPlusMinusCandidate.cc:86
BPHParticleMasses::psi2Mass
static const double psi2Mass
Definition: BPHParticleMasses.h:41
BPHDecayMomentum::originalReco
virtual const reco::Candidate * originalReco(const reco::Candidate *daug) const
get the original particle from the clone
Definition: BPHDecayMomentum.cc:82
BPHOniaToMuMuBuilder::posCollection
const BPHRecoBuilder::BPHGenericCollection * posCollection
Definition: BPHOniaToMuMuBuilder.h:101
BPHOniaToMuMuBuilder::Psi2
Definition: BPHOniaToMuMuBuilder.h:46
BPHOniaToMuMuBuilder::build
std::vector< BPHPlusMinusConstCandPtr > build()
build resonance candidates
Definition: BPHOniaToMuMuBuilder.cc:74
BPHParticleMasses::muonMass
static const double muonMass
Definition: BPHParticleMasses.h:31
BPHSelectOperation::or_mode
Definition: BPHMultiSelect.h:42
EgHLTOffHistBins_cfi.mass
mass
Definition: EgHLTOffHistBins_cfi.py:34
ALCARECOTkAlBeamHalo_cff.etaMax
etaMax
Definition: ALCARECOTkAlBeamHalo_cff.py:33
BPHOniaToMuMuBuilder::oniaPar
std::map< oniaType, OniaParameters > oniaPar
Definition: BPHOniaToMuMuBuilder.h:115
BPHParticleMasses::ups2MWidth
static const double ups2MWidth
Definition: BPHParticleMasses.h:58
BPHOniaToMuMuBuilder::extractList
void extractList(oniaType type)
Definition: BPHOniaToMuMuBuilder.cc:262
BPHParticleMasses::ups3MWidth
static const double ups3MWidth
Definition: BPHParticleMasses.h:59
BPHOniaToMuMuBuilder::muNegName
std::string muNegName
Definition: BPHOniaToMuMuBuilder.h:98
recoSelectForWrite_cfi.massMax
massMax
Definition: recoSelectForWrite_cfi.py:7
BPHVertexSelect::accept
virtual bool accept(const BPHDecayVertex &cand) const =0
accept function
BPHRecoSelect::accept
virtual bool accept(const reco::Candidate &cand) const =0
recoSelectForWrite_cfi.massMin
massMin
Definition: recoSelectForWrite_cfi.py:6
BPHParticleMasses::ups3Mass
static const double ups3Mass
Definition: BPHParticleMasses.h:44
BPHParticleMasses::jPsiMWidth
static const double jPsiMWidth
Definition: BPHParticleMasses.h:55
BPHOniaToMuMuBuilder::Ups1
Definition: BPHOniaToMuMuBuilder.h:46