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 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=0, BPHMomentumSelect *mSel=0, BPHVertexSelect *vSel=0, BPHFitSelect *kSel=0)
 
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...
 
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

 BPHOniaToMuMuBuilder (const BPHOniaToMuMuBuilder &x)=delete
 
void extractList (oniaType type)
 
BPHOniaToMuMuBuilderoperator= (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::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

Constructor & Destructor Documentation

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.

41  : muPosName("MuPos"),
42  muNegName("MuNeg"),
43  evSetup(&es),
44  posCollection(muPosCollection),
45  negCollection(muNegCollection) {
49  setParameters(Ups, 3.0, 10.0, 6.00, 12.00, 0.0, -1.0, 0.0);
53  updated = false;
54 }
static const double ups2MWidth
const BPHRecoBuilder::BPHGenericCollection * posCollection
static const double ups3Mass
static const double ups2Mass
static const double jPsiMWidth
static const double jPsiMass
void setParameters(oniaType type, double ptMin, double etaMax, double massMin, double massMax, double probMin, double mass, double sigma)
static const double ups1MWidth
static const double phiMWidth
static const double phiMass
static const double psi2Mass
static const double ups1Mass
const BPHRecoBuilder::BPHGenericCollection * negCollection
static const double ups3MWidth
const edm::EventSetup * evSetup
static const double psi2MWidth
BPHOniaToMuMuBuilder::~BPHOniaToMuMuBuilder ( )
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.

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 }
std::map< oniaType, OniaParameters > oniaPar
BPHOniaToMuMuBuilder::BPHOniaToMuMuBuilder ( const BPHOniaToMuMuBuilder x)
privatedelete

Member Function Documentation

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

74  {
75  if (updated)
76  return fullList;
77 
82 
83  map<oniaType, OniaParameters>::iterator iter = oniaPar.begin();
84  map<oniaType, OniaParameters>::iterator iend = oniaPar.end();
85  while (iter != iend) {
86  OniaParameters& par = iter++->second;
87  ptSel.include(*par.ptSel);
88  etaSel.include(*par.etaSel);
89  mSel.include(*par.massSel);
90  vSel.include(*par.chi2Sel);
91  }
92 
93  BPHRecoBuilder bOnia(*evSetup);
96  bOnia.filter(muPosName, ptSel);
97  bOnia.filter(muNegName, ptSel);
98  bOnia.filter(muPosName, etaSel);
99  bOnia.filter(muNegName, etaSel);
100  bOnia.filter(mSel);
101  bOnia.filter(vSel);
102 
104  updated = true;
105  return fullList;
106 }
static std::vector< BPHPlusMinusConstCandPtr > build(const BPHRecoBuilder &builder, const std::string &nPos, const std::string &nNeg, double mass=-1, double msig=-1)
const BPHRecoBuilder::BPHGenericCollection * posCollection
static const double muonMSigma
const BPHRecoBuilder::BPHGenericCollection * negCollection
static const double muonMass
std::map< oniaType, OniaParameters > oniaPar
std::vector< BPHPlusMinusConstCandPtr > fullList
const edm::EventSetup * evSetup
void BPHOniaToMuMuBuilder::extractList ( oniaType  type)
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().

260  {
261  if (!updated)
262  build();
263  OniaParameters& par = oniaPar[type];
264  vector<BPHPlusMinusConstCandPtr>& list = oniaList[type];
265  if (par.updated)
266  return;
267  int i;
268  int n = fullList.size();
269  list.clear();
270  list.reserve(n);
271  for (i = 0; i < n; ++i) {
273  const reco::Candidate* mcPos = ptr->getDaug("MuPos");
274  const reco::Candidate* mcNeg = ptr->getDaug("MuNeg");
275  const reco::Candidate* muPos = ptr->originalReco(mcPos);
276  const reco::Candidate* muNeg = ptr->originalReco(mcNeg);
277  if (!par.massSel->accept(*ptr))
278  continue;
279  if (!par.ptSel->accept(*muPos))
280  continue;
281  if (!par.etaSel->accept(*muPos))
282  continue;
283  if (!par.ptSel->accept(*muNeg))
284  continue;
285  if (!par.etaSel->accept(*muNeg))
286  continue;
287  if (!par.chi2Sel->accept(*ptr))
288  continue;
290  np->add("MuPos", muPos, ptr->getTrackSearchList(mcPos), BPHParticleMasses::muonMass);
291  np->add("MuNeg", muNeg, ptr->getTrackSearchList(mcNeg), BPHParticleMasses::muonMass);
292  if (par.mass > 0.0)
293  np->setConstraint(par.mass, par.sigma);
294  list.push_back(BPHPlusMinusConstCandPtr(np));
295  }
296  par.updated = true;
297  return;
298 }
type
Definition: HCALResponse.h:21
std::map< oniaType, std::vector< BPHPlusMinusConstCandPtr > > oniaList
void add(const std::string &name, const reco::Candidate *daug, double mass=-1.0, double sigma=-1.0) override
BPHGenericPtr< const BPHPlusMinusCandidate >::type BPHPlusMinusConstCandPtr
int np
Definition: AMPTWrapper.h:43
static const double muonMass
std::vector< BPHPlusMinusConstCandPtr > build()
build resonance candidates
std::map< oniaType, OniaParameters > oniaPar
std::vector< BPHPlusMinusConstCandPtr > fullList
void setConstraint(double mass, double sigma)
apply a mass constraint
const edm::EventSetup * evSetup
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger list("!*","!HLTx*"if it matches 2 triggers or more) will accept the event if all the matching triggers are FAIL.It will reject the event if any of the triggers are PASS or EXCEPTION(this matches the behavior of"!*"before the partial wildcard feature was incorporated).Triggers which are in the READY state are completely ignored.(READY should never be returned since the trigger paths have been run
double BPHOniaToMuMuBuilder::getConstrMass ( oniaType  type) const

Definition at line 222 of file BPHOniaToMuMuBuilder.cc.

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

Referenced by BPHWriteSpecificDecay::fill().

222  {
223  const OniaParameters& par = oniaPar.at(type);
224  return par.mass;
225 }
type
Definition: HCALResponse.h:21
std::map< oniaType, OniaParameters > oniaPar
double BPHOniaToMuMuBuilder::getConstrSigma ( oniaType  type) const

Definition at line 227 of file BPHOniaToMuMuBuilder.cc.

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

Referenced by BPHWriteSpecificDecay::fill().

227  {
228  const OniaParameters& par = oniaPar.at(type);
229  return par.sigma;
230 }
type
Definition: HCALResponse.h:21
std::map< oniaType, OniaParameters > oniaPar
double BPHOniaToMuMuBuilder::getEtaMax ( oniaType  type) const

Definition at line 202 of file BPHOniaToMuMuBuilder.cc.

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

202  {
203  const OniaParameters& par = oniaPar.at(type);
204  return par.etaSel->getEtaMax();
205 }
type
Definition: HCALResponse.h:21
std::map< oniaType, OniaParameters > 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().

109  {
110  extractList(type);
111  vector<BPHPlusMinusConstCandPtr>& list = oniaList[type];
112  int i;
113  int n = list.size();
114  vector<BPHPlusMinusConstCandPtr> lsub;
115  lsub.reserve(n);
116  for (i = 0; i < n; ++i) {
117  BPHPlusMinusConstCandPtr ptr = list[i];
118  const reco::Candidate* muPos = ptr->originalReco(ptr->getDaug(muPosName));
119  const reco::Candidate* muNeg = ptr->originalReco(ptr->getDaug(muNegName));
120  if ((dSel != nullptr) && (!dSel->accept(*muPos)))
121  continue;
122  if ((dSel != nullptr) && (!dSel->accept(*muNeg)))
123  continue;
124  if ((mSel != nullptr) && (!mSel->accept(*ptr)))
125  continue;
126  if ((vSel != nullptr) && (!vSel->accept(*ptr)))
127  continue;
128  if ((kSel != nullptr) && (!kSel->accept(*ptr)))
129  continue;
130  lsub.push_back(list[i]);
131  }
132  return lsub;
133 }
type
Definition: HCALResponse.h:21
virtual bool accept(const BPHDecayMomentum &cand) const =0
accept function
virtual bool accept(const BPHDecayVertex &cand) const =0
accept function
std::map< oniaType, std::vector< BPHPlusMinusConstCandPtr > > oniaList
virtual bool accept(const reco::Candidate &cand) const
BPHGenericPtr< const BPHPlusMinusCandidate >::type BPHPlusMinusConstCandPtr
void extractList(oniaType type)
virtual bool accept(const BPHKinematicFit &cand) const =0
accept function
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger list("!*","!HLTx*"if it matches 2 triggers or more) will accept the event if all the matching triggers are FAIL.It will reject the event if any of the triggers are PASS or EXCEPTION(this matches the behavior of"!*"before the partial wildcard feature was incorporated).Triggers which are in the READY state are completely ignored.(READY should never be returned since the trigger paths have been run
double BPHOniaToMuMuBuilder::getMassMax ( oniaType  type) const

Definition at line 212 of file BPHOniaToMuMuBuilder.cc.

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

212  {
213  const OniaParameters& par = oniaPar.at(type);
214  return par.massSel->getMassMax();
215 }
type
Definition: HCALResponse.h:21
std::map< oniaType, OniaParameters > oniaPar
double BPHOniaToMuMuBuilder::getMassMin ( oniaType  type) const

Definition at line 207 of file BPHOniaToMuMuBuilder.cc.

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

207  {
208  const OniaParameters& par = oniaPar.at(type);
209  return par.massSel->getMassMin();
210 }
type
Definition: HCALResponse.h:21
std::map< oniaType, OniaParameters > 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().

135  {
136  const reco::Candidate* mp = cand.originalReco(cand.getDaug(muPosName));
137  const reco::Candidate* mn = cand.originalReco(cand.getDaug(muNegName));
138  int nc = fullList.size();
139  int ic;
140  for (ic = 0; ic < nc; ++ic) {
142  const BPHPlusMinusCandidate* pmc = pmp.get();
143  if (pmc->originalReco(pmc->getDaug(muPosName)) != mp)
144  continue;
145  if (pmc->originalReco(pmc->getDaug(muNegName)) != mn)
146  continue;
147  return pmp;
148  }
149  return BPHPlusMinusConstCandPtr(nullptr);
150 }
BPHGenericPtr< const BPHPlusMinusCandidate >::type BPHPlusMinusConstCandPtr
virtual const reco::Candidate * originalReco(const reco::Candidate *daug) const
get the original particle from the clone
std::vector< BPHPlusMinusConstCandPtr > fullList
virtual const reco::Candidate * getDaug(const std::string &name) const
double BPHOniaToMuMuBuilder::getProbMin ( oniaType  type) const

Definition at line 217 of file BPHOniaToMuMuBuilder.cc.

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

217  {
218  const OniaParameters& par = oniaPar.at(type);
219  return par.chi2Sel->getProbMin();
220 }
type
Definition: HCALResponse.h:21
std::map< oniaType, OniaParameters > 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.

197  {
198  const OniaParameters& par = oniaPar.at(type);
199  return par.ptSel->getPtMin();
200 }
type
Definition: HCALResponse.h:21
std::map< oniaType, OniaParameters > oniaPar
BPHOniaToMuMuBuilder& BPHOniaToMuMuBuilder::operator= ( const BPHOniaToMuMuBuilder x)
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().

188  {
189  setNotUpdated();
190  OniaParameters& par = oniaPar[type];
191  par.mass = mass;
192  par.sigma = sigma;
193  return;
194 }
type
Definition: HCALResponse.h:21
std::map< oniaType, OniaParameters > oniaPar
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().

160  {
161  setNotUpdated();
162  OniaParameters& par = oniaPar[type];
163  par.etaSel->setEtaMax(eta);
164  return;
165 }
type
Definition: HCALResponse.h:21
std::map< oniaType, OniaParameters > oniaPar
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().

174  {
175  setNotUpdated();
176  OniaParameters& par = oniaPar[type];
177  par.massSel->setMassMax(m);
178  return;
179 }
type
Definition: HCALResponse.h:21
std::map< oniaType, OniaParameters > oniaPar
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().

167  {
168  setNotUpdated();
169  OniaParameters& par = oniaPar[type];
170  par.massSel->setMassMin(m);
171  return;
172 }
type
Definition: HCALResponse.h:21
std::map< oniaType, OniaParameters > oniaPar
void BPHOniaToMuMuBuilder::setNotUpdated ( )
private

Definition at line 232 of file BPHOniaToMuMuBuilder.cc.

References oniaPar, and updated.

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

232  {
233  map<oniaType, OniaParameters>::iterator iter = oniaPar.begin();
234  map<oniaType, OniaParameters>::iterator iend = oniaPar.end();
235  while (iter != iend)
236  iter++->second.updated = false;
237  updated = false;
238  return;
239 }
std::map< oniaType, OniaParameters > oniaPar
void BPHOniaToMuMuBuilder::setParameters ( oniaType  type,
double  ptMin,
double  etaMax,
double  massMin,
double  massMax,
double  probMin,
double  mass,
double  sigma 
)
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().

248  {
249  OniaParameters& par = oniaPar[type];
250  par.ptSel = new BPHMuonPtSelect(ptMin);
251  par.etaSel = new BPHMuonEtaSelect(etaMax);
252  par.massSel = new BPHMassSelect(massMin, massMax);
253  par.chi2Sel = new BPHChi2Select(probMin);
254  par.mass = mass;
255  par.sigma = sigma;
256  par.updated = false;
257  return;
258 }
type
Definition: HCALResponse.h:21
std::map< oniaType, OniaParameters > oniaPar
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().

181  {
182  setNotUpdated();
183  OniaParameters& par = oniaPar[type];
184  par.chi2Sel->setProbMin(p);
185  return;
186 }
type
Definition: HCALResponse.h:21
std::map< oniaType, OniaParameters > oniaPar
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().

153  {
154  setNotUpdated();
155  OniaParameters& par = oniaPar[type];
156  par.ptSel->setPtMin(pt);
157  return;
158 }
type
Definition: HCALResponse.h:21
std::map< oniaType, OniaParameters > oniaPar

Member Data Documentation

const edm::EventSetup* BPHOniaToMuMuBuilder::evSetup
private

Definition at line 100 of file BPHOniaToMuMuBuilder.h.

Referenced by build(), and extractList().

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

Definition at line 117 of file BPHOniaToMuMuBuilder.h.

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

std::string BPHOniaToMuMuBuilder::muNegName
private

Definition at line 98 of file BPHOniaToMuMuBuilder.h.

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

std::string BPHOniaToMuMuBuilder::muPosName
private

Definition at line 97 of file BPHOniaToMuMuBuilder.h.

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

const BPHRecoBuilder::BPHGenericCollection* BPHOniaToMuMuBuilder::negCollection
private

Definition at line 102 of file BPHOniaToMuMuBuilder.h.

Referenced by build().

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

Definition at line 116 of file BPHOniaToMuMuBuilder.h.

Referenced by extractList(), and getList().

std::map<oniaType, OniaParameters> BPHOniaToMuMuBuilder::oniaPar
private
const BPHRecoBuilder::BPHGenericCollection* BPHOniaToMuMuBuilder::posCollection
private

Definition at line 101 of file BPHOniaToMuMuBuilder.h.

Referenced by build().

bool BPHOniaToMuMuBuilder::updated
private

Definition at line 113 of file BPHOniaToMuMuBuilder.h.

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