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 45 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 39 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.

42  :
43  muPosName( "MuPos" ),
44  muNegName( "MuNeg" ),
45  evSetup( &es ),
46  posCollection( muPosCollection ),
47  negCollection( muNegCollection ) {
48  setParameters( Phi , 3.0, 10.0, 0.50, 1.50, 0.0,
50  setParameters( Psi1, 3.0, 10.0, 2.00, 3.40, 0.0,
52  setParameters( Psi2, 3.0, 10.0, 3.40, 6.00, 0.0,
54  setParameters( Ups , 3.0, 10.0, 6.00, 12.00, 0.0,
55  -1.0 , 0.0 );
56  setParameters( Ups1, 3.0, 10.0, 6.00, 9.75, 0.0,
58  setParameters( Ups2, 3.0, 10.0, 9.75, 10.20, 0.0,
60  setParameters( Ups3, 3.0, 10.0, 10.20, 12.00, 0.0,
62  updated = false;
63 }
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 68 of file BPHOniaToMuMuBuilder.cc.

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

68  {
69  map< oniaType, OniaParameters >::iterator iter = oniaPar.begin();
70  map< oniaType, OniaParameters >::iterator iend = oniaPar.end();
71  while ( iter != iend ) {
72  OniaParameters& par = iter++->second;
73  delete par. ptSel;
74  delete par. etaSel;
75  delete par.massSel;
76  delete par.chi2Sel;
77  }
78 }
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 83 of file BPHOniaToMuMuBuilder.cc.

References BPHRecoBuilder::add(), BPHPlusMinusCandidate::build(), BPHOniaToMuMuBuilder::OniaParameters::chi2Sel, evSetup, BPHRecoBuilder::filter(), fullList, BPHMultiSelectBase< T >::include(), BPHOniaToMuMuBuilder::OniaParameters::massSel, muNegName, BPHParticleMasses::muonMass, BPHParticleMasses::muonMSigma, muPosName, negCollection, oniaPar, BPHSelectOperation::or_mode, posCollection, and updated.

Referenced by extractList(), and BPHWriteSpecificDecay::fill().

83  {
84 
85  if ( updated ) return fullList;
86 
91 
92  map< oniaType, OniaParameters >::iterator iter = oniaPar.begin();
93  map< oniaType, OniaParameters >::iterator iend = oniaPar.end();
94  while ( iter != iend ) {
95  OniaParameters& par = iter++->second;
96  ptSel.include( *par. ptSel );
97  etaSel.include( *par. etaSel );
98  mSel.include( *par.massSel );
99  vSel.include( *par.chi2Sel );
100  }
101 
102  BPHRecoBuilder bOnia( *evSetup );
107  bOnia.filter( muPosName, ptSel );
108  bOnia.filter( muNegName, ptSel );
109  bOnia.filter( muPosName, etaSel );
110  bOnia.filter( muNegName, etaSel );
111  bOnia.filter( mSel );
112  bOnia.filter( vSel );
113 
115  updated = true;
116  return fullList;
117 
118 }
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 285 of file BPHOniaToMuMuBuilder.cc.

References BPHChi2Select::accept(), BPHMassSelect::accept(), BPHPlusMinusCandidate::add(), build(), BPHOniaToMuMuBuilder::OniaParameters::chi2Sel, evSetup, fullList, mps_fire::i, list(), BPHOniaToMuMuBuilder::OniaParameters::mass, BPHOniaToMuMuBuilder::OniaParameters::massSel, BPHParticleMasses::muonMass, gen::n, np, oniaList, oniaPar, BPHKinematicFit::setConstraint(), BPHOniaToMuMuBuilder::OniaParameters::sigma, BPHOniaToMuMuBuilder::OniaParameters::updated, and updated.

Referenced by getList().

285  {
286  if ( !updated ) build();
287  OniaParameters& par = oniaPar[type];
288  vector<BPHPlusMinusConstCandPtr>& list = oniaList[type];
289  if ( par.updated ) return;
290  int i;
291  int n = fullList.size();
292  list.clear();
293  list.reserve( n );
294  for ( i = 0; i < n; ++i ) {
296  const reco::Candidate* mcPos = ptr->getDaug( "MuPos" );
297  const reco::Candidate* mcNeg = ptr->getDaug( "MuNeg" );
298  const reco::Candidate* muPos = ptr->originalReco( mcPos );
299  const reco::Candidate* muNeg = ptr->originalReco( mcNeg );
300  if ( !par.massSel->accept( *ptr ) ) continue;
301  if ( !par. ptSel->accept( *muPos ) ) continue;
302  if ( !par. etaSel->accept( *muPos ) ) continue;
303  if ( !par. ptSel->accept( *muNeg ) ) continue;
304  if ( !par. etaSel->accept( *muNeg ) ) continue;
305  if ( !par.chi2Sel->accept( *ptr ) ) continue;
307  np->add( "MuPos", muPos, ptr->getTrackSearchList( mcPos ),
309  np->add( "MuNeg", muNeg, ptr->getTrackSearchList( mcNeg ),
311  if ( par.mass > 0.0 )
312  np->setConstraint( par.mass, par.sigma );
313  list.push_back( BPHPlusMinusConstCandPtr( np ) );
314  }
315  par.updated = true;
316  return;
317 }
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:33
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 247 of file BPHOniaToMuMuBuilder.cc.

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

Referenced by BPHWriteSpecificDecay::fill().

247  {
248  const OniaParameters& par = oniaPar.at( type );
249  return par.mass;
250 }
type
Definition: HCALResponse.h:21
std::map< oniaType, OniaParameters > oniaPar
double BPHOniaToMuMuBuilder::getConstrSigma ( oniaType  type) const

Definition at line 253 of file BPHOniaToMuMuBuilder.cc.

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

Referenced by BPHWriteSpecificDecay::fill().

253  {
254  const OniaParameters& par = oniaPar.at( type );
255  return par.sigma;
256 }
type
Definition: HCALResponse.h:21
std::map< oniaType, OniaParameters > oniaPar
double BPHOniaToMuMuBuilder::getEtaMax ( oniaType  type) const

Definition at line 223 of file BPHOniaToMuMuBuilder.cc.

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

223  {
224  const OniaParameters& par = oniaPar.at( type );
225  return par.etaSel->getEtaMax();
226 }
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 121 of file BPHOniaToMuMuBuilder.cc.

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

Referenced by BPHWriteSpecificDecay::fill().

126  {
127  extractList( type );
128  vector<BPHPlusMinusConstCandPtr>& list = oniaList[type];
129  int i;
130  int n = list.size();
131  vector<BPHPlusMinusConstCandPtr> lsub;
132  lsub.reserve( n );
133  for ( i = 0; i < n; ++i ) {
134  BPHPlusMinusConstCandPtr ptr = list[i];
135  const reco::Candidate* muPos = ptr->originalReco( ptr->getDaug(
136  muPosName ) );
137  const reco::Candidate* muNeg = ptr->originalReco( ptr->getDaug(
138  muNegName ) );
139  if ( ( dSel != nullptr ) && ( !dSel->accept( *muPos ) ) ) continue;
140  if ( ( dSel != nullptr ) && ( !dSel->accept( *muNeg ) ) ) continue;
141  if ( ( mSel != nullptr ) && ( !mSel->accept( *ptr ) ) ) continue;
142  if ( ( vSel != nullptr ) && ( !vSel->accept( *ptr ) ) ) continue;
143  if ( ( kSel != nullptr ) && ( !kSel->accept( *ptr ) ) ) continue;
144  lsub.push_back( list[i] );
145  }
146  return lsub;
147 }
type
Definition: HCALResponse.h:21
virtual bool accept(const BPHDecayMomentum &cand) const =0
accept function
std::map< oniaType, std::vector< BPHPlusMinusConstCandPtr > > oniaList
virtual bool accept(const BPHDecayVertex &cand) const =0
accept function
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 235 of file BPHOniaToMuMuBuilder.cc.

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

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

Definition at line 229 of file BPHOniaToMuMuBuilder.cc.

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

229  {
230  const OniaParameters& par = oniaPar.at( type );
231  return par.massSel->getMassMin();
232 }
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 150 of file BPHOniaToMuMuBuilder.cc.

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

151  {
152  const reco::Candidate* mp = cand.originalReco( cand.getDaug( muPosName ) );
153  const reco::Candidate* mn = cand.originalReco( cand.getDaug( muNegName ) );
154  int nc = fullList.size();
155  int ic;
156  for ( ic = 0; ic < nc; ++ ic ) {
158  const BPHPlusMinusCandidate* pmc = pmp.get();
159  if ( pmc->originalReco( pmc->getDaug( muPosName ) ) != mp ) continue;
160  if ( pmc->originalReco( pmc->getDaug( muNegName ) ) != mn ) continue;
161  return pmp;
162  }
163  return BPHPlusMinusConstCandPtr( nullptr );
164 }
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 241 of file BPHOniaToMuMuBuilder.cc.

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

241  {
242  const OniaParameters& par = oniaPar.at( type );
243  return par.chi2Sel->getProbMin();
244 }
type
Definition: HCALResponse.h:21
std::map< oniaType, OniaParameters > oniaPar
double BPHOniaToMuMuBuilder::getPtMin ( oniaType  type) const

get current cuts

Definition at line 217 of file BPHOniaToMuMuBuilder.cc.

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

217  {
218  const OniaParameters& par = oniaPar.at( type );
219  return par.ptSel->getPtMin();
220 }
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 207 of file BPHOniaToMuMuBuilder.cc.

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

Referenced by BPHWriteSpecificDecay::fill().

208  {
209  setNotUpdated();
210  OniaParameters& par = oniaPar[type];
211  par.mass = mass;
212  par.sigma = sigma;
213  return;
214 }
type
Definition: HCALResponse.h:21
std::map< oniaType, OniaParameters > oniaPar
void BPHOniaToMuMuBuilder::setEtaMax ( oniaType  type,
double  eta 
)

Definition at line 175 of file BPHOniaToMuMuBuilder.cc.

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

Referenced by BPHWriteSpecificDecay::fill().

175  {
176  setNotUpdated();
177  OniaParameters& par = oniaPar[type];
178  par.etaSel->setEtaMax( eta );
179  return;
180 }
type
Definition: HCALResponse.h:21
std::map< oniaType, OniaParameters > oniaPar
void BPHOniaToMuMuBuilder::setMassMax ( oniaType  type,
double  m 
)

Definition at line 191 of file BPHOniaToMuMuBuilder.cc.

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

Referenced by BPHWriteSpecificDecay::fill().

191  {
192  setNotUpdated();
193  OniaParameters& par = oniaPar[type];
194  par.massSel->setMassMax( m );
195  return;
196 }
type
Definition: HCALResponse.h:21
std::map< oniaType, OniaParameters > oniaPar
void BPHOniaToMuMuBuilder::setMassMin ( oniaType  type,
double  m 
)

Definition at line 183 of file BPHOniaToMuMuBuilder.cc.

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

Referenced by BPHWriteSpecificDecay::fill().

183  {
184  setNotUpdated();
185  OniaParameters& par = oniaPar[type];
186  par.massSel->setMassMin( m );
187  return;
188 }
type
Definition: HCALResponse.h:21
std::map< oniaType, OniaParameters > oniaPar
void BPHOniaToMuMuBuilder::setNotUpdated ( )
private

Definition at line 259 of file BPHOniaToMuMuBuilder.cc.

References oniaPar, and updated.

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

259  {
260  map< oniaType, OniaParameters >::iterator iter = oniaPar.begin();
261  map< oniaType, OniaParameters >::iterator iend = oniaPar.end();
262  while ( iter != iend ) iter++->second.updated = false;
263  updated = false;
264  return;
265 }
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 268 of file BPHOniaToMuMuBuilder.cc.

References BPHOniaToMuMuBuilder::OniaParameters::chi2Sel, ResonanceBuilder::mass, BPHOniaToMuMuBuilder::OniaParameters::mass, BPHOniaToMuMuBuilder::OniaParameters::massSel, oniaPar, BPHOniaToMuMuBuilder::OniaParameters::sigma, and BPHOniaToMuMuBuilder::OniaParameters::updated.

Referenced by BPHOniaToMuMuBuilder().

272  {
273  OniaParameters& par = oniaPar[type];
274  par. ptSel = new BPHMuonPtSelect( ptMin );
275  par. etaSel = new BPHMuonEtaSelect( etaMax );
276  par.massSel = new BPHMassSelect( massMin, massMax );
277  par.chi2Sel = new BPHChi2Select( probMin );
278  par.mass = mass;
279  par.sigma = sigma;
280  par.updated = false;
281  return;
282 }
type
Definition: HCALResponse.h:21
std::map< oniaType, OniaParameters > oniaPar
void BPHOniaToMuMuBuilder::setProbMin ( oniaType  type,
double  p 
)

Definition at line 199 of file BPHOniaToMuMuBuilder.cc.

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

Referenced by BPHWriteSpecificDecay::fill().

199  {
200  setNotUpdated();
201  OniaParameters& par = oniaPar[type];
202  par.chi2Sel->setProbMin( p );
203  return;
204 }
type
Definition: HCALResponse.h:21
std::map< oniaType, OniaParameters > oniaPar
void BPHOniaToMuMuBuilder::setPtMin ( oniaType  type,
double  pt 
)

set cuts

Definition at line 167 of file BPHOniaToMuMuBuilder.cc.

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

Referenced by BPHWriteSpecificDecay::fill().

167  {
168  setNotUpdated();
169  OniaParameters& par = oniaPar[type];
170  par.ptSel->setPtMin( pt );
171  return;
172 }
type
Definition: HCALResponse.h:21
std::map< oniaType, OniaParameters > oniaPar

Member Data Documentation

const edm::EventSetup* BPHOniaToMuMuBuilder::evSetup
private

Definition at line 106 of file BPHOniaToMuMuBuilder.h.

Referenced by build(), and extractList().

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

Definition at line 123 of file BPHOniaToMuMuBuilder.h.

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

std::string BPHOniaToMuMuBuilder::muNegName
private

Definition at line 104 of file BPHOniaToMuMuBuilder.h.

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

std::string BPHOniaToMuMuBuilder::muPosName
private

Definition at line 103 of file BPHOniaToMuMuBuilder.h.

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

const BPHRecoBuilder::BPHGenericCollection* BPHOniaToMuMuBuilder::negCollection
private

Definition at line 108 of file BPHOniaToMuMuBuilder.h.

Referenced by build().

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

Definition at line 122 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 107 of file BPHOniaToMuMuBuilder.h.

Referenced by build().

bool BPHOniaToMuMuBuilder::updated
private

Definition at line 119 of file BPHOniaToMuMuBuilder.h.

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