test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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
< BPHPlusMinusConstCandPtr
build ()
 build resonance candidates More...
 
double getConstrMass (oniaType type) const
 
double getConstrSigma (oniaType type) const
 
double getEtaMax (oniaType type) const
 
std::vector
< BPHPlusMinusConstCandPtr
getList (oniaType type, BPHRecoSelect *dSel=0, BPHMomentumSelect *mSel=0, BPHVertexSelect *vSel=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)
 
void extractList (oniaType type)
 
BPHOniaToMuMuBuilderoperator= (const BPHOniaToMuMuBuilder &x)
 
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
< 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
 

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)
private

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, BPHMultiSelect< 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 }
const BPHRecoBuilder::BPHGenericCollection * posCollection
static const double muonMSigma
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 * 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 283 of file BPHOniaToMuMuBuilder.cc.

References BPHChi2Select::accept(), BPHMassSelect::accept(), BPHPlusMinusCandidate::add(), build(), BPHOniaToMuMuBuilder::OniaParameters::chi2Sel, evSetup, fullList, 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().

283  {
284  if ( !updated ) build();
285  OniaParameters& par = oniaPar[type];
286  vector<BPHPlusMinusConstCandPtr>& list = oniaList[type];
287  if ( par.updated ) return;
288  int i;
289  int n = fullList.size();
290  list.clear();
291  list.reserve( n );
292  for ( i = 0; i < n; ++i ) {
294  const reco::Candidate* muPos = ptr->originalReco( ptr->getDaug( "MuPos" ) );
295  const reco::Candidate* muNeg = ptr->originalReco( ptr->getDaug( "MuNeg" ) );
296  if ( !par.massSel->accept( *ptr ) ) continue;
297  if ( !par. ptSel->accept( *muPos ) ) continue;
298  if ( !par. etaSel->accept( *muPos ) ) continue;
299  if ( !par. ptSel->accept( *muNeg ) ) continue;
300  if ( !par. etaSel->accept( *muNeg ) ) continue;
301  if ( !par.chi2Sel->accept( *ptr ) ) continue;
303  np->add( "MuPos", muPos, BPHParticleMasses::muonMass );
304  np->add( "MuNeg", muNeg, BPHParticleMasses::muonMass );
305  if ( par.mass > 0.0 )
306  np->setConstraint( par.mass, par.sigma );
307  list.push_back( BPHPlusMinusConstCandPtr( np ) );
308  }
309  par.updated = true;
310  return;
311 }
type
Definition: HCALResponse.h:21
int i
Definition: DBlmapReader.cc:9
std::map< oniaType, std::vector< BPHPlusMinusConstCandPtr > > oniaList
BPHGenericPtr< const BPHPlusMinusCandidate >::type BPHPlusMinusConstCandPtr
int np
Definition: AMPTWrapper.h:33
virtual void add(const std::string &name, const reco::Candidate *daug, double mass=-1.0, double sigma=-1.0)
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 245 of file BPHOniaToMuMuBuilder.cc.

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

Referenced by BPHWriteSpecificDecay::fill().

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

Definition at line 251 of file BPHOniaToMuMuBuilder.cc.

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

Referenced by BPHWriteSpecificDecay::fill().

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

Definition at line 221 of file BPHOniaToMuMuBuilder.cc.

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

221  {
222  const OniaParameters& par = oniaPar.at( type );
223  return par.etaSel->getEtaMax();
224 }
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 
)

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(), BPHRecoSelect::accept(), extractList(), i, list(), muNegName, muPosName, gen::n, and oniaList.

Referenced by BPHWriteSpecificDecay::fill().

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

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

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

Definition at line 227 of file BPHOniaToMuMuBuilder.cc.

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

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

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

149  {
150  int nc = fullList.size();
151  int ic;
152  for ( ic = 0; ic < nc; ++ ic ) {
154  const BPHPlusMinusCandidate* pmc = pmp.get();
155  if ( pmc->originalReco( pmc->getDaug( muPosName ) ) !=
156  cand.originalReco( cand.getDaug( muPosName ) ) ) continue;
157  if ( pmc->originalReco( pmc->getDaug( muNegName ) ) !=
158  cand.originalReco( cand.getDaug( muNegName ) ) ) continue;
159  return pmp;
160  }
161  return BPHPlusMinusConstCandPtr( 0 );
162 }
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 239 of file BPHOniaToMuMuBuilder.cc.

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

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

get current cuts

Definition at line 215 of file BPHOniaToMuMuBuilder.cc.

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

215  {
216  const OniaParameters& par = oniaPar.at( type );
217  return par.ptSel->getPtMin();
218 }
type
Definition: HCALResponse.h:21
std::map< oniaType, OniaParameters > oniaPar
BPHOniaToMuMuBuilder& BPHOniaToMuMuBuilder::operator= ( const BPHOniaToMuMuBuilder x)
private
void BPHOniaToMuMuBuilder::setConstr ( oniaType  type,
double  mass,
double  sigma 
)

Definition at line 205 of file BPHOniaToMuMuBuilder.cc.

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

Referenced by BPHWriteSpecificDecay::fill().

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

Definition at line 173 of file BPHOniaToMuMuBuilder.cc.

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

Referenced by BPHWriteSpecificDecay::fill().

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

Definition at line 189 of file BPHOniaToMuMuBuilder.cc.

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

Referenced by BPHWriteSpecificDecay::fill().

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

Definition at line 181 of file BPHOniaToMuMuBuilder.cc.

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

Referenced by BPHWriteSpecificDecay::fill().

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

Definition at line 257 of file BPHOniaToMuMuBuilder.cc.

References oniaPar, and updated.

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

257  {
258  map< oniaType, OniaParameters >::iterator iter = oniaPar.begin();
259  map< oniaType, OniaParameters >::iterator iend = oniaPar.end();
260  while ( iter != iend ) iter++->second.updated = false;
261  updated = false;
262  return;
263 }
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 266 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().

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

Definition at line 197 of file BPHOniaToMuMuBuilder.cc.

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

Referenced by BPHWriteSpecificDecay::fill().

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

set cuts

Definition at line 165 of file BPHOniaToMuMuBuilder.cc.

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

Referenced by BPHWriteSpecificDecay::fill().

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

Member Data Documentation

const edm::EventSetup* BPHOniaToMuMuBuilder::evSetup
private

Definition at line 105 of file BPHOniaToMuMuBuilder.h.

Referenced by build(), and extractList().

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

Definition at line 122 of file BPHOniaToMuMuBuilder.h.

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

std::string BPHOniaToMuMuBuilder::muNegName
private

Definition at line 103 of file BPHOniaToMuMuBuilder.h.

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

std::string BPHOniaToMuMuBuilder::muPosName
private

Definition at line 102 of file BPHOniaToMuMuBuilder.h.

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

const BPHRecoBuilder::BPHGenericCollection* BPHOniaToMuMuBuilder::negCollection
private

Definition at line 107 of file BPHOniaToMuMuBuilder.h.

Referenced by build().

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

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

Referenced by build().

bool BPHOniaToMuMuBuilder::updated
private

Definition at line 118 of file BPHOniaToMuMuBuilder.h.

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