CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
BPHX3872ToJPsiPiPiBuilder Class Reference

#include <BPHX3872ToJPsiPiPiBuilder.h>

Public Member Functions

 BPHX3872ToJPsiPiPiBuilder (const BPHX3872ToJPsiPiPiBuilder &x)=delete
 
 BPHX3872ToJPsiPiPiBuilder (const edm::EventSetup &es, const std::vector< BPHPlusMinusConstCandPtr > &jpsiCollection, const BPHRecoBuilder::BPHGenericCollection *posCollection, const BPHRecoBuilder::BPHGenericCollection *negCollection)
 
std::vector< BPHRecoConstCandPtrbuild ()
 build X3872 candidates More...
 
bool getConstr () const
 
double getJPsiMassMax () const
 
double getJPsiMassMin () const
 get current cuts More...
 
double getMassFitMax () const
 
double getMassFitMin () const
 
double getMassMax () const
 
double getMassMin () const
 
double getPiEtaMax () const
 
double getPiPtMin () const
 get current cuts More...
 
double getProbMin () const
 
BPHX3872ToJPsiPiPiBuilderoperator= (const BPHX3872ToJPsiPiPiBuilder &x)=delete
 
void setConstr (bool flag)
 
void setJPsiMassMax (double m)
 
void setJPsiMassMin (double m)
 set cuts More...
 
void setMassFitMax (double m)
 
void setMassFitMin (double m)
 
void setMassMax (double m)
 
void setMassMin (double m)
 
void setPiEtaMax (double eta)
 
void setPiPtMin (double pt)
 set cuts More...
 
void setProbMin (double p)
 
virtual ~BPHX3872ToJPsiPiPiBuilder ()
 

Private Attributes

BPHChi2Selectchi2Sel
 
double etaMax
 
const edm::EventSetupevSetup
 
const std::vector< BPHPlusMinusConstCandPtr > * jCollection
 
std::string jPsiName
 
BPHMassSelectjpsiSel
 
bool massConstr
 
BPHMassSelectmassSel
 
BPHMassFitSelectmFitSel
 
float minPDiff
 
const BPHRecoBuilder::BPHGenericCollectionnCollection
 
const BPHRecoBuilder::BPHGenericCollectionpCollection
 
std::string pionNegName
 
std::string pionPosName
 
double ptMin
 
bool updated
 
std::vector< BPHRecoConstCandPtrx3872List
 

Detailed Description

Description: Class to build X3872 to JPsi pi+ pi- candidates

Author
Paolo Ronchese INFN Padova

Definition at line 42 of file BPHX3872ToJPsiPiPiBuilder.h.

Constructor & Destructor Documentation

◆ BPHX3872ToJPsiPiPiBuilder() [1/2]

BPHX3872ToJPsiPiPiBuilder::BPHX3872ToJPsiPiPiBuilder ( const edm::EventSetup es,
const std::vector< BPHPlusMinusConstCandPtr > &  jpsiCollection,
const BPHRecoBuilder::BPHGenericCollection posCollection,
const BPHRecoBuilder::BPHGenericCollection negCollection 
)

Constructor

Definition at line 36 of file BPHX3872ToJPsiPiPiBuilder.cc.

40  : jPsiName("JPsi"),
41  pionPosName("PionPos"),
42  pionNegName("PionNeg"),
43  evSetup(&es),
44  jCollection(&jpsiCollection),
45  pCollection(posCollection),
46  nCollection(negCollection) {
47  jpsiSel = new BPHMassSelect(2.80, 3.40);
48  ptMin = 1.0;
49  etaMax = 10.0;
50  massSel = new BPHMassSelect(3.00, 4.50);
51  chi2Sel = new BPHChi2Select(0.02);
53  massConstr = true;
54  minPDiff = 1.0e-4;
55  updated = false;
56 }

References chi2Sel, etaMax, BPHParticleMasses::jPsiMass, BPHParticleMasses::jPsiMWidth, jPsiName, jpsiSel, massConstr, massSel, mFitSel, minPDiff, ptMin, and updated.

◆ BPHX3872ToJPsiPiPiBuilder() [2/2]

BPHX3872ToJPsiPiPiBuilder::BPHX3872ToJPsiPiPiBuilder ( const BPHX3872ToJPsiPiPiBuilder x)
delete

◆ ~BPHX3872ToJPsiPiPiBuilder()

BPHX3872ToJPsiPiPiBuilder::~BPHX3872ToJPsiPiPiBuilder ( )
virtual

Destructor

Definition at line 61 of file BPHX3872ToJPsiPiPiBuilder.cc.

61  {
62  delete jpsiSel;
63  delete massSel;
64  delete chi2Sel;
65  delete mFitSel;
66 }

References chi2Sel, jpsiSel, massSel, and mFitSel.

Member Function Documentation

◆ build()

vector< BPHRecoConstCandPtr > BPHX3872ToJPsiPiPiBuilder::build ( )

build X3872 candidates

Operations

Definition at line 71 of file BPHX3872ToJPsiPiPiBuilder.cc.

71  {
72  if (updated)
73  return x3872List;
74 
75  x3872List.clear();
76 
77  // extract basic informations from input collections
78 
79  class Particle {
80  public:
81  Particle(const reco::Candidate* c, const reco::Track* tk, double x, double y, double z, double p)
82  : cand(c), track(tk), px(x), py(y), pz(z), ePion(p) {}
83  const reco::Candidate* cand;
84  const reco::Track* track;
85  double px;
86  double py;
87  double pz;
88  double ePion;
89  };
90 
91  vector<Particle> pList;
92  vector<Particle> nList;
93 
94  int nPos = pCollection->size();
95  int nNeg = nCollection->size();
96 
97  pList.reserve(nPos);
98  nList.reserve(nNeg);
99 
100  // filter input collections
101 
102  int iPos;
103  int iNeg;
104 
105  for (iPos = 0; iPos < nPos; ++iPos) {
106  const reco::Candidate& cand = pCollection->get(iPos);
107  if (cand.charge() != +1)
108  continue;
110  if (p4.pt() < ptMin)
111  continue;
112  if (p4.eta() > etaMax)
113  continue;
114  const reco::Track* tk = BPHTrackReference::getTrack(cand, "cfhp");
115  if (tk == nullptr)
116  continue;
117  double px = p4.px();
118  double py = p4.py();
119  double pz = p4.pz();
120  double p2 = (px * px) + (py * py) + (pz * pz);
121  pList.push_back(
123  }
124 
125  for (iNeg = 0; iNeg < nNeg; ++iNeg) {
126  const reco::Candidate& cand = nCollection->get(iNeg);
127  if (cand.charge() != -1)
128  continue;
130  if (p4.pt() < ptMin)
131  continue;
132  if (p4.eta() > etaMax)
133  continue;
134  const reco::Track* tk = BPHTrackReference::getTrack(cand, "cfhp");
135  if (tk == nullptr)
136  continue;
137  double px = p4.px();
138  double py = p4.py();
139  double pz = p4.pz();
140  double p2 = (px * px) + (py * py) + (pz * pz);
141  nList.push_back(
143  }
144 
145  // filter basic candidates
146 
147  nPos = pList.size();
148  nNeg = nList.size();
149 
150  double mMax = getMassMax() - (0.8 * BPHParticleMasses::jPsiMass);
151 
152  struct PionPair {
153  const reco::Candidate* posPion;
154  const reco::Candidate* negPion;
155  };
156  vector<const PionPair*> pionPairs;
157  pionPairs.reserve(nPos * nNeg);
158 
159  for (iPos = 0; iPos < nPos; ++iPos) {
160  Particle& pc = pList[iPos];
161  const reco::Track* pt = pc.track;
162  double px = pc.px;
163  double py = pc.py;
164  double pz = pc.pz;
165  double pe = pc.ePion;
166  for (iNeg = 0; iNeg < nNeg; ++iNeg) {
167  Particle& nc = nList[iNeg];
168  const reco::Track* nt = nc.track;
169  if (fabs(nt->dz() - pt->dz()) > 1.0)
170  continue;
171  double nx = nc.px;
172  double ny = nc.py;
173  double nz = nc.pz;
174  double ne = nc.ePion;
175  const float tx = px + nx;
176  const float ty = py + ny;
177  const float tz = pz + nz;
178  const float te = pe + ne;
179  float mass = (te * te) - ((tx * tx) + (ty * ty) + (tz * tz));
180  if (mass > mMax)
181  continue;
182  PionPair* pp = new PionPair;
183  pp->posPion = pc.cand;
184  pp->negPion = nc.cand;
185  pionPairs.push_back(pp);
186  }
187  }
188 
189  vector<BPHPlusMinusConstCandPtr> jPsi;
190  int nJPsi = jCollection->size();
191  int iJPsi;
192  jPsi.reserve(nJPsi);
193  for (iJPsi = 0; iJPsi < nJPsi; ++iJPsi) {
194  const BPHPlusMinusConstCandPtr& jpCand = jCollection->at(iJPsi);
195  if (jpsiSel->accept(*jpCand))
196  jPsi.push_back(jpCand);
197  }
198  nJPsi = jPsi.size();
199 
200  int nPair = pionPairs.size();
201  int iPair;
202  for (iPair = 0; iPair < nPair; ++iPair) {
203  const PionPair* pp = pionPairs[iPair];
204  for (iJPsi = 0; iJPsi < nJPsi; ++iJPsi) {
206  BPHRecoCandidatePtr xPtr(x3872);
207  x3872->add(jPsiName, jPsi[iJPsi]);
210  if (!massSel->accept(*x3872))
211  continue;
212  if ((chi2Sel != nullptr) && !chi2Sel->accept(*x3872))
213  continue;
214  if (!mFitSel->accept(*x3872))
215  continue;
216  x3872List.push_back(xPtr);
217  }
218  delete pp;
219  }
220 
221  updated = true;
222  return x3872List;
223 }

References BPHMassSelect::accept(), BPHChi2Select::accept(), BPHMassFitSelect::accept(), BPHRecoCandidate::add(), HltBtagPostValidation_cff::c, chi2Sel, etaMax, evSetup, BPHRecoBuilder::BPHGenericCollection::get(), getMassMax(), BPHTrackReference::getTrack(), jCollection, BPHParticleMasses::jPsiMass, jPsiName, jpsiSel, EgHLTOffHistBins_cfi::mass, massSel, mFitSel, nCollection, nt, AlCaHLTBitMon_ParallelJobs::p, p2, p4, pCollection, BPHParticleMasses::pionMass, BPHParticleMasses::pionMSigma, pionNegName, pionPosName, createTree::pp, DiDispStaMuonMonitor_cfi::pt, ptMin, multPhiCorr_741_25nsDY_cfi::px, multPhiCorr_741_25nsDY_cfi::py, BPHRecoBuilder::BPHGenericCollection::size(), mathSSE::sqrt(), HLT_FULL_cff::track, updated, x, x3872List, y, and z.

Referenced by BPHWriteSpecificDecay::fill().

◆ getConstr()

bool BPHX3872ToJPsiPiPiBuilder::getConstr ( ) const

Definition at line 306 of file BPHX3872ToJPsiPiPiBuilder.cc.

306 { return massConstr; }

References massConstr.

◆ getJPsiMassMax()

double BPHX3872ToJPsiPiPiBuilder::getJPsiMassMax ( ) const

Definition at line 290 of file BPHX3872ToJPsiPiPiBuilder.cc.

290 { return jpsiSel->getMassMax(); }

References BPHMassCuts::getMassMax(), and jpsiSel.

◆ getJPsiMassMin()

double BPHX3872ToJPsiPiPiBuilder::getJPsiMassMin ( ) const

get current cuts

Definition at line 288 of file BPHX3872ToJPsiPiPiBuilder.cc.

288 { return jpsiSel->getMassMin(); }

References BPHMassCuts::getMassMin(), and jpsiSel.

◆ getMassFitMax()

double BPHX3872ToJPsiPiPiBuilder::getMassFitMax ( ) const

Definition at line 304 of file BPHX3872ToJPsiPiPiBuilder.cc.

304 { return mFitSel->getMassMax(); }

References BPHMassCuts::getMassMax(), and mFitSel.

◆ getMassFitMin()

double BPHX3872ToJPsiPiPiBuilder::getMassFitMin ( ) const

Definition at line 302 of file BPHX3872ToJPsiPiPiBuilder.cc.

302 { return mFitSel->getMassMin(); }

References BPHMassCuts::getMassMin(), and mFitSel.

◆ getMassMax()

double BPHX3872ToJPsiPiPiBuilder::getMassMax ( ) const

Definition at line 298 of file BPHX3872ToJPsiPiPiBuilder.cc.

298 { return massSel->getMassMax(); }

References BPHMassCuts::getMassMax(), and massSel.

Referenced by build().

◆ getMassMin()

double BPHX3872ToJPsiPiPiBuilder::getMassMin ( ) const

Definition at line 296 of file BPHX3872ToJPsiPiPiBuilder.cc.

296 { return massSel->getMassMin(); }

References BPHMassCuts::getMassMin(), and massSel.

◆ getPiEtaMax()

double BPHX3872ToJPsiPiPiBuilder::getPiEtaMax ( ) const

Definition at line 294 of file BPHX3872ToJPsiPiPiBuilder.cc.

294 { return etaMax; }

References etaMax.

◆ getPiPtMin()

double BPHX3872ToJPsiPiPiBuilder::getPiPtMin ( ) const

get current cuts

Definition at line 292 of file BPHX3872ToJPsiPiPiBuilder.cc.

292 { return ptMin; }

References ptMin.

◆ getProbMin()

double BPHX3872ToJPsiPiPiBuilder::getProbMin ( ) const

Definition at line 300 of file BPHX3872ToJPsiPiPiBuilder.cc.

300 { return (chi2Sel == nullptr ? -1.0 : chi2Sel->getProbMin()); }

References chi2Sel, and BPHChi2Select::getProbMin().

◆ operator=()

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

◆ setConstr()

void BPHX3872ToJPsiPiPiBuilder::setConstr ( bool  flag)

Definition at line 281 of file BPHX3872ToJPsiPiPiBuilder.cc.

281  {
282  updated = false;
283  massConstr = flag;
284  return;
285 }

References RemoveAddSevLevel::flag, massConstr, and updated.

Referenced by BPHWriteSpecificDecay::fill().

◆ setJPsiMassMax()

void BPHX3872ToJPsiPiPiBuilder::setJPsiMassMax ( double  m)

Definition at line 232 of file BPHX3872ToJPsiPiPiBuilder.cc.

232  {
233  updated = false;
234  jpsiSel->setMassMax(m);
235  return;
236 }

References jpsiSel, visualization-live-secondInstance_cfg::m, BPHMassCuts::setMassMax(), and updated.

Referenced by BPHWriteSpecificDecay::fill().

◆ setJPsiMassMin()

void BPHX3872ToJPsiPiPiBuilder::setJPsiMassMin ( double  m)

set cuts

Definition at line 226 of file BPHX3872ToJPsiPiPiBuilder.cc.

226  {
227  updated = false;
228  jpsiSel->setMassMin(m);
229  return;
230 }

References jpsiSel, visualization-live-secondInstance_cfg::m, BPHMassCuts::setMassMin(), and updated.

Referenced by BPHWriteSpecificDecay::fill().

◆ setMassFitMax()

void BPHX3872ToJPsiPiPiBuilder::setMassFitMax ( double  m)

Definition at line 275 of file BPHX3872ToJPsiPiPiBuilder.cc.

275  {
276  updated = false;
277  mFitSel->setMassMax(m);
278  return;
279 }

References visualization-live-secondInstance_cfg::m, mFitSel, BPHMassCuts::setMassMax(), and updated.

Referenced by BPHWriteSpecificDecay::fill().

◆ setMassFitMin()

void BPHX3872ToJPsiPiPiBuilder::setMassFitMin ( double  m)

Definition at line 269 of file BPHX3872ToJPsiPiPiBuilder.cc.

269  {
270  updated = false;
271  mFitSel->setMassMin(m);
272  return;
273 }

References visualization-live-secondInstance_cfg::m, mFitSel, BPHMassCuts::setMassMin(), and updated.

Referenced by BPHWriteSpecificDecay::fill().

◆ setMassMax()

void BPHX3872ToJPsiPiPiBuilder::setMassMax ( double  m)

Definition at line 256 of file BPHX3872ToJPsiPiPiBuilder.cc.

256  {
257  updated = false;
258  massSel->setMassMax(m);
259  return;
260 }

References visualization-live-secondInstance_cfg::m, massSel, BPHMassCuts::setMassMax(), and updated.

Referenced by BPHWriteSpecificDecay::fill().

◆ setMassMin()

void BPHX3872ToJPsiPiPiBuilder::setMassMin ( double  m)

Definition at line 250 of file BPHX3872ToJPsiPiPiBuilder.cc.

250  {
251  updated = false;
252  massSel->setMassMin(m);
253  return;
254 }

References visualization-live-secondInstance_cfg::m, massSel, BPHMassCuts::setMassMin(), and updated.

Referenced by BPHWriteSpecificDecay::fill().

◆ setPiEtaMax()

void BPHX3872ToJPsiPiPiBuilder::setPiEtaMax ( double  eta)

Definition at line 244 of file BPHX3872ToJPsiPiPiBuilder.cc.

244  {
245  updated = false;
246  etaMax = eta;
247  return;
248 }

References PVValHelper::eta, etaMax, and updated.

Referenced by BPHWriteSpecificDecay::fill().

◆ setPiPtMin()

void BPHX3872ToJPsiPiPiBuilder::setPiPtMin ( double  pt)

set cuts

Definition at line 238 of file BPHX3872ToJPsiPiPiBuilder.cc.

238  {
239  updated = false;
240  ptMin = pt;
241  return;
242 }

References DiDispStaMuonMonitor_cfi::pt, ptMin, and updated.

Referenced by BPHWriteSpecificDecay::fill().

◆ setProbMin()

void BPHX3872ToJPsiPiPiBuilder::setProbMin ( double  p)

Definition at line 262 of file BPHX3872ToJPsiPiPiBuilder.cc.

262  {
263  updated = false;
264  delete chi2Sel;
265  chi2Sel = (p < 0.0 ? nullptr : new BPHChi2Select(p));
266  return;
267 }

References chi2Sel, AlCaHLTBitMon_ParallelJobs::p, and updated.

Referenced by BPHWriteSpecificDecay::fill().

Member Data Documentation

◆ chi2Sel

BPHChi2Select* BPHX3872ToJPsiPiPiBuilder::chi2Sel
private

◆ etaMax

double BPHX3872ToJPsiPiPiBuilder::etaMax
private

◆ evSetup

const edm::EventSetup* BPHX3872ToJPsiPiPiBuilder::evSetup
private

Definition at line 93 of file BPHX3872ToJPsiPiPiBuilder.h.

Referenced by build().

◆ jCollection

const std::vector<BPHPlusMinusConstCandPtr>* BPHX3872ToJPsiPiPiBuilder::jCollection
private

Definition at line 94 of file BPHX3872ToJPsiPiPiBuilder.h.

Referenced by build().

◆ jPsiName

std::string BPHX3872ToJPsiPiPiBuilder::jPsiName
private

Definition at line 89 of file BPHX3872ToJPsiPiPiBuilder.h.

Referenced by BPHX3872ToJPsiPiPiBuilder(), and build().

◆ jpsiSel

BPHMassSelect* BPHX3872ToJPsiPiPiBuilder::jpsiSel
private

◆ massConstr

bool BPHX3872ToJPsiPiPiBuilder::massConstr
private

Definition at line 106 of file BPHX3872ToJPsiPiPiBuilder.h.

Referenced by BPHX3872ToJPsiPiPiBuilder(), getConstr(), and setConstr().

◆ massSel

BPHMassSelect* BPHX3872ToJPsiPiPiBuilder::massSel
private

◆ mFitSel

BPHMassFitSelect* BPHX3872ToJPsiPiPiBuilder::mFitSel
private

◆ minPDiff

float BPHX3872ToJPsiPiPiBuilder::minPDiff
private

Definition at line 107 of file BPHX3872ToJPsiPiPiBuilder.h.

Referenced by BPHX3872ToJPsiPiPiBuilder().

◆ nCollection

const BPHRecoBuilder::BPHGenericCollection* BPHX3872ToJPsiPiPiBuilder::nCollection
private

Definition at line 96 of file BPHX3872ToJPsiPiPiBuilder.h.

Referenced by build().

◆ pCollection

const BPHRecoBuilder::BPHGenericCollection* BPHX3872ToJPsiPiPiBuilder::pCollection
private

Definition at line 95 of file BPHX3872ToJPsiPiPiBuilder.h.

Referenced by build().

◆ pionNegName

std::string BPHX3872ToJPsiPiPiBuilder::pionNegName
private

Definition at line 91 of file BPHX3872ToJPsiPiPiBuilder.h.

Referenced by build().

◆ pionPosName

std::string BPHX3872ToJPsiPiPiBuilder::pionPosName
private

Definition at line 90 of file BPHX3872ToJPsiPiPiBuilder.h.

Referenced by build().

◆ ptMin

double BPHX3872ToJPsiPiPiBuilder::ptMin
private

◆ updated

bool BPHX3872ToJPsiPiPiBuilder::updated
private

◆ x3872List

std::vector<BPHRecoConstCandPtr> BPHX3872ToJPsiPiPiBuilder::x3872List
private

Definition at line 110 of file BPHX3872ToJPsiPiPiBuilder.h.

Referenced by build().

BPHMassCuts::setMassMax
void setMassMax(double m)
Definition: BPHMassCuts.h:52
DDAxes::y
HLT_FULL_cff.track
track
Definition: HLT_FULL_cff.py:11779
BPHParticleMasses::jPsiMass
static const double jPsiMass
Definition: BPHParticleMasses.h:40
BPHX3872ToJPsiPiPiBuilder::ptMin
double ptMin
Definition: BPHX3872ToJPsiPiPiBuilder.h:99
nt
int nt
Definition: AMPTWrapper.h:42
DiDispStaMuonMonitor_cfi.pt
pt
Definition: DiDispStaMuonMonitor_cfi.py:39
BPHX3872ToJPsiPiPiBuilder::jCollection
const std::vector< BPHPlusMinusConstCandPtr > * jCollection
Definition: BPHX3872ToJPsiPiPiBuilder.h:94
BPHChi2Select::getProbMin
double getProbMin() const
get current prob min
Definition: BPHChi2Select.h:66
multPhiCorr_741_25nsDY_cfi.py
py
Definition: multPhiCorr_741_25nsDY_cfi.py:12
BPHRecoCandidatePtr
BPHGenericPtr< BPHRecoCandidate >::type BPHRecoCandidatePtr
Definition: BPHRecoCandidatePtr.h:7
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
BPHX3872ToJPsiPiPiBuilder::chi2Sel
BPHChi2Select * chi2Sel
Definition: BPHX3872ToJPsiPiPiBuilder.h:103
BPHMassCuts::getMassMin
double getMassMin() const
get current mass cuts
Definition: BPHMassCuts.h:58
BPHRecoBuilder::BPHGenericCollection::get
virtual const reco::Candidate & get(int i) const =0
BPHX3872ToJPsiPiPiBuilder::massConstr
bool massConstr
Definition: BPHX3872ToJPsiPiPiBuilder.h:106
BPHX3872ToJPsiPiPiBuilder::getMassMax
double getMassMax() const
Definition: BPHX3872ToJPsiPiPiBuilder.cc:298
DDAxes::x
BPHX3872ToJPsiPiPiBuilder::x3872List
std::vector< BPHRecoConstCandPtr > x3872List
Definition: BPHX3872ToJPsiPiPiBuilder.h:110
BPHX3872ToJPsiPiPiBuilder::mFitSel
BPHMassFitSelect * mFitSel
Definition: BPHX3872ToJPsiPiPiBuilder.h:104
BPHTrackReference::getTrack
static const reco::Track * getTrack(const reco::Candidate &rc, const char *modeList="cfhbpmnigset", char *modeFlag=nullptr)
Definition: BPHTrackReference.h:60
BPHX3872ToJPsiPiPiBuilder::pionPosName
std::string pionPosName
Definition: BPHX3872ToJPsiPiPiBuilder.h:90
PVValHelper::eta
Definition: PVValidationHelpers.h:69
visualization-live-secondInstance_cfg.m
m
Definition: visualization-live-secondInstance_cfg.py:72
mathSSE::sqrt
T sqrt(T t)
Definition: SSEVec.h:19
DDAxes::z
reco::Track
Definition: Track.h:27
BPHMassSelect
Definition: BPHMassSelect.h:31
p2
double p2[4]
Definition: TauolaWrapper.h:90
BPHMassCuts::setMassMin
void setMassMin(double m)
set mass cuts
Definition: BPHMassCuts.h:48
BPHX3872ToJPsiPiPiBuilder::pCollection
const BPHRecoBuilder::BPHGenericCollection * pCollection
Definition: BPHX3872ToJPsiPiPiBuilder.h:95
BPHParticleMasses::pionMass
static const double pionMass
Definition: BPHParticleMasses.h:33
BPHParticleMasses::pionMSigma
static const double pionMSigma
Definition: BPHParticleMasses.h:48
cand
Definition: decayParser.h:32
BPHX3872ToJPsiPiPiBuilder::nCollection
const BPHRecoBuilder::BPHGenericCollection * nCollection
Definition: BPHX3872ToJPsiPiPiBuilder.h:96
p4
double p4[4]
Definition: TauolaWrapper.h:92
BPHRecoBuilder::BPHGenericCollection::size
virtual int size() const =0
BPHMassCuts::getMassMax
double getMassMax() const
Definition: BPHMassCuts.h:59
BPHX3872ToJPsiPiPiBuilder::massSel
BPHMassSelect * massSel
Definition: BPHX3872ToJPsiPiPiBuilder.h:102
BPHX3872ToJPsiPiPiBuilder::etaMax
double etaMax
Definition: BPHX3872ToJPsiPiPiBuilder.h:100
BPHChi2Select
Definition: BPHChi2Select.h:31
BPHPlusMinusConstCandPtr
BPHGenericPtr< const BPHPlusMinusCandidate >::type BPHPlusMinusConstCandPtr
Definition: BPHPlusMinusCandidatePtr.h:9
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
reco::Candidate
Definition: Candidate.h:27
BPHX3872ToJPsiPiPiBuilder::pionNegName
std::string pionNegName
Definition: BPHX3872ToJPsiPiPiBuilder.h:91
multPhiCorr_741_25nsDY_cfi.px
px
Definition: multPhiCorr_741_25nsDY_cfi.py:10
BPHX3872ToJPsiPiPiBuilder::updated
bool updated
Definition: BPHX3872ToJPsiPiPiBuilder.h:108
BPHX3872ToJPsiPiPiBuilder::minPDiff
float minPDiff
Definition: BPHX3872ToJPsiPiPiBuilder.h:107
BPHX3872ToJPsiPiPiBuilder::jPsiName
std::string jPsiName
Definition: BPHX3872ToJPsiPiPiBuilder.h:89
BPHX3872ToJPsiPiPiBuilder::evSetup
const edm::EventSetup * evSetup
Definition: BPHX3872ToJPsiPiPiBuilder.h:93
EgHLTOffHistBins_cfi.mass
mass
Definition: EgHLTOffHistBins_cfi.py:34
Particle
Definition: Particle.py:1
BPHRecoCandidate::add
virtual void add(const std::string &name, const reco::Candidate *daug, double mass=-1.0, double sigma=-1.0)
Definition: BPHRecoCandidate.h:69
BPHMassSelect::accept
bool accept(const BPHDecayMomentum &cand) const override
select particle
Definition: BPHMassSelect.h:48
BPHX3872ToJPsiPiPiBuilder::jpsiSel
BPHMassSelect * jpsiSel
Definition: BPHX3872ToJPsiPiPiBuilder.h:98
createTree.pp
pp
Definition: createTree.py:17
BPHChi2Select::accept
bool accept(const BPHDecayVertex &cand) const override
select vertex
Definition: BPHChi2Select.h:48
BPHRecoCandidate
Definition: BPHRecoCandidate.h:46
reco::Candidate::LorentzVector
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:36
BPHMassFitSelect::accept
bool accept(const BPHKinematicFit &cand) const override
select particle
Definition: BPHMassFitSelect.h:71
RemoveAddSevLevel.flag
flag
Definition: RemoveAddSevLevel.py:116
BPHParticleMasses::jPsiMWidth
static const double jPsiMWidth
Definition: BPHParticleMasses.h:55
BPHMassFitSelect
Definition: BPHMassFitSelect.h:34