CMS 3D CMS Logo

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

#include <HiEvtPlaneFlatten.h>

Public Member Functions

double bounds (double ang) const
 
double bounds2 (double ang) const
 
void fill (double psi, double vtx, int centbin)
 
void fillOffset (double s, double c, uint m, double vtx, int centbin)
 
void fillPt (double ptval, double vtx, int centbin)
 
double getCentRes1 (unsigned int bin) const
 
double getCentRes10 (unsigned int bin) const
 
double getCentRes2 (unsigned int bin) const
 
double getCentRes20 (unsigned int bin) const
 
double getCentRes25 (unsigned int bin) const
 
double getCentRes30 (unsigned int bin) const
 
double getCentRes40 (unsigned int bin) const
 
double getCentRes5 (unsigned int bin) const
 
double getCentResErr1 (unsigned int bin) const
 
double getCentResErr10 (unsigned int bin) const
 
double getCentResErr2 (unsigned int bin) const
 
double getCentResErr20 (unsigned int bin) const
 
double getCentResErr25 (unsigned int bin) const
 
double getCentResErr30 (unsigned int bin) const
 
double getCentResErr40 (unsigned int bin) const
 
double getCentResErr5 (unsigned int bin) const
 
double getCnt (unsigned int bin) const
 
double getCoffset (double c, double vtx, int centbin) const
 
int getCutIndx (int centbin, double vtx, int iord) const
 
double getEtScale (double vtx, int centbin) const
 
double getFlatPsi (double psi, double vtx, int centbin) const
 
int getHBins () const
 
int getNcent () const
 
int getNvtx () const
 
int getOBins () const
 
int getOffsetIndx (int centbin, double vtx) const
 
double getOffsetPsi (double s, double c) const
 
double getPt (unsigned int bin) const
 
double getPt2 (unsigned int bin) const
 
double getPt2DB (unsigned int bin) const
 
double getPtcnt (unsigned int bin) const
 
double getPtDB (unsigned int bin) const
 
double getSoffset (double s, double vtx, int centbin) const
 
double getVtxMax () const
 
double getVtxMin () const
 
double getW (double pt, double vtx, int centbin) const
 
double getX (unsigned int bin) const
 
double getXDB (unsigned int bin) const
 
double getXoff (unsigned int bin) const
 
double getXoffDB (unsigned int bin) const
 
double getXYoffcnt (unsigned int bin) const
 
double getXYoffmult (unsigned int bin) const
 
double getY (unsigned int bin) const
 
double getYDB (unsigned int bin) const
 
double getYoff (unsigned int bin) const
 
double getYoffDB (unsigned int bin) const
 
 HiEvtPlaneFlatten ()
 
void init (int order, int nbins, std::string tag, int vord)
 
void setCaloCentRefBins (const int caloCentRefMinBin, const int caloCentRefMaxBin)
 
void setCentRes1 (unsigned int bin, double res, double err)
 
void setCentRes10 (unsigned int bin, double res, double err)
 
void setCentRes2 (unsigned int bin, double res, double err)
 
void setCentRes20 (unsigned int bin, double res, double err)
 
void setCentRes25 (unsigned int bin, double res, double err)
 
void setCentRes30 (unsigned int bin, double res, double err)
 
void setCentRes40 (unsigned int bin, double res, double err)
 
void setCentRes5 (unsigned int bin, double res, double err)
 
void setPt2DB (unsigned int indx, double val)
 
void setPtDB (unsigned int indx, double val)
 
void setXDB (unsigned int indx, double val)
 
void setXoffDB (unsigned int indx, double val)
 
void setYDB (unsigned int indx, double val)
 
void setYoffDB (unsigned int indx, double val)
 
 ~HiEvtPlaneFlatten ()
 

Private Attributes

int caloCentRefMaxBin_
 
int caloCentRefMinBin_
 
double centRes10_ [10]
 
double centRes1_ [100]
 
double centRes20_ [5]
 
double centRes25_ [4]
 
double centRes2_ [50]
 
double centRes30_ [3]
 
double centRes40_ [2]
 
double centRes5_ [20]
 
double centResErr10_ [10]
 
double centResErr1_ [100]
 
double centResErr20_ [5]
 
double centResErr25_ [4]
 
double centResErr2_ [50]
 
double centResErr30_ [3]
 
double centResErr40_ [2]
 
double centResErr5_ [20]
 
double flatCnt_ [MAXCUT]
 
double flatX_ [MAXCUT]
 
double flatXDB_ [MAXCUT]
 
double flatY_ [MAXCUT]
 
double flatYDB_ [MAXCUT]
 
int hbins_
 
int hOrder_
 
int obins_
 
double pt2_ [MAXCUTOFF]
 
double pt2DB_ [MAXCUTOFF]
 
double pt_ [MAXCUTOFF]
 
double ptcnt_ [MAXCUTOFF]
 
double ptDB_ [MAXCUTOFF]
 
int vorder_
 
double xoff_ [MAXCUTOFF]
 
double xoffDB_ [MAXCUTOFF]
 
double xyoffcnt_ [MAXCUTOFF]
 
uint xyoffmult_ [MAXCUTOFF]
 
double yoff_ [MAXCUTOFF]
 
double yoffDB_ [MAXCUTOFF]
 

Static Private Attributes

static constexpr double delvtx_ = 5.
 
static const int MAXCUT = 10000
 
static const int MAXCUTOFF = 1000
 
static constexpr double minvtx_ = -25.
 
static constexpr int nvtxbins_ = 10
 

Detailed Description

Definition at line 27 of file HiEvtPlaneFlatten.h.

Constructor & Destructor Documentation

◆ HiEvtPlaneFlatten()

HiEvtPlaneFlatten::HiEvtPlaneFlatten ( )
inlineexplicit

Definition at line 29 of file HiEvtPlaneFlatten.h.

29  {
30  hbins_ = 1;
31  hOrder_ = 9;
32  vorder_ = 2; //sets default order of event plane
33  }

References hbins_, hOrder_, and vorder_.

◆ ~HiEvtPlaneFlatten()

HiEvtPlaneFlatten::~HiEvtPlaneFlatten ( )
inline

Definition at line 200 of file HiEvtPlaneFlatten.h.

200 {}

Member Function Documentation

◆ bounds()

double HiEvtPlaneFlatten::bounds ( double  ang) const
inline

Definition at line 243 of file HiEvtPlaneFlatten.h.

243  {
244  if (ang < -M_PI)
245  ang += 2. * M_PI;
246  if (ang > M_PI)
247  ang -= 2. * M_PI;
248  return ang;
249  }

References M_PI.

Referenced by getFlatPsi(), and getOffsetPsi().

◆ bounds2()

double HiEvtPlaneFlatten::bounds2 ( double  ang) const
inline

Definition at line 250 of file HiEvtPlaneFlatten.h.

250  {
251  double range = M_PI / (double)vorder_;
252  while (ang < -range) {
253  ang += 2 * range;
254  }
255  while (ang > range) {
256  ang -= 2 * range;
257  }
258  return ang;
259  }

References M_PI, FastTimerService_cff::range, and vorder_.

Referenced by getFlatPsi(), and getOffsetPsi().

◆ fill()

void HiEvtPlaneFlatten::fill ( double  psi,
double  vtx,
int  centbin 
)
inline

Definition at line 96 of file HiEvtPlaneFlatten.h.

96  {
97  if (fabs(psi) > 4)
98  return;
99  for (int k = 0; k < hOrder_; k++) {
100  double fsin = sin(vorder_ * (k + 1) * psi);
101  double fcos = cos(vorder_ * (k + 1) * psi);
102  int indx = getCutIndx(centbin, vtx, k);
103  if (indx >= 0) {
104  flatX_[indx] += fcos;
105  flatY_[indx] += fsin;
106  ++flatCnt_[indx];
107  }
108  }
109  }

References funct::cos(), flatCnt_, flatX_, flatY_, getCutIndx(), hOrder_, dqmdumpme::k, funct::sin(), vorder_, and badGlobalMuonTaggersAOD_cff::vtx.

◆ fillOffset()

void HiEvtPlaneFlatten::fillOffset ( double  s,
double  c,
uint  m,
double  vtx,
int  centbin 
)
inline

Definition at line 110 of file HiEvtPlaneFlatten.h.

110  {
111  int indx = getOffsetIndx(centbin, vtx);
112  if (indx >= 0) {
113  xoff_[indx] += c;
114  yoff_[indx] += s;
115  xyoffmult_[indx] += m;
116  ++xyoffcnt_[indx];
117  }
118  }

References HltBtagPostValidation_cff::c, getOffsetIndx(), visualization-live-secondInstance_cfg::m, alignCSCRings::s, badGlobalMuonTaggersAOD_cff::vtx, xoff_, xyoffcnt_, xyoffmult_, and yoff_.

◆ fillPt()

void HiEvtPlaneFlatten::fillPt ( double  ptval,
double  vtx,
int  centbin 
)
inline

Definition at line 119 of file HiEvtPlaneFlatten.h.

119  {
120  int indx = getOffsetIndx(centbin, vtx);
121  if (indx >= 0) {
122  pt_[indx] += ptval;
123  pt2_[indx] += ptval * ptval;
124  ++ptcnt_[indx];
125  }
126  }

References getOffsetIndx(), pt2_, pt_, ptcnt_, and badGlobalMuonTaggersAOD_cff::vtx.

◆ getCentRes1()

double HiEvtPlaneFlatten::getCentRes1 ( unsigned int  bin) const
inline

Definition at line 309 of file HiEvtPlaneFlatten.h.

309  {
310  if (bin < 100) {
311  return centRes1_[bin];
312  } else {
313  return 0.;
314  }
315  }

References newFWLiteAna::bin, and centRes1_.

◆ getCentRes10()

double HiEvtPlaneFlatten::getCentRes10 ( unsigned int  bin) const
inline

Definition at line 330 of file HiEvtPlaneFlatten.h.

330  {
331  if (bin < 10) {
332  return centRes10_[bin];
333  } else {
334  return 0.;
335  }
336  }

References newFWLiteAna::bin, and centRes10_.

◆ getCentRes2()

double HiEvtPlaneFlatten::getCentRes2 ( unsigned int  bin) const
inline

Definition at line 316 of file HiEvtPlaneFlatten.h.

316  {
317  if (bin < 50) {
318  return centRes2_[bin];
319  } else {
320  return 0.;
321  }
322  }

References newFWLiteAna::bin, and centRes2_.

◆ getCentRes20()

double HiEvtPlaneFlatten::getCentRes20 ( unsigned int  bin) const
inline

Definition at line 337 of file HiEvtPlaneFlatten.h.

337  {
338  if (bin < 5) {
339  return centRes20_[bin];
340  } else {
341  return 0.;
342  }
343  }

References newFWLiteAna::bin, and centRes20_.

◆ getCentRes25()

double HiEvtPlaneFlatten::getCentRes25 ( unsigned int  bin) const
inline

Definition at line 344 of file HiEvtPlaneFlatten.h.

344  {
345  if (bin < 4) {
346  return centRes25_[bin];
347  } else {
348  return 0.;
349  }
350  }

References newFWLiteAna::bin, and centRes25_.

◆ getCentRes30()

double HiEvtPlaneFlatten::getCentRes30 ( unsigned int  bin) const
inline

Definition at line 351 of file HiEvtPlaneFlatten.h.

351  {
352  if (bin < 3) {
353  return centRes30_[bin];
354  } else {
355  return 0.;
356  }
357  }

References newFWLiteAna::bin, and centRes30_.

◆ getCentRes40()

double HiEvtPlaneFlatten::getCentRes40 ( unsigned int  bin) const
inline

Definition at line 358 of file HiEvtPlaneFlatten.h.

358  {
359  if (bin < 2) {
360  return centRes40_[bin];
361  } else {
362  return 0.;
363  }
364  }

References newFWLiteAna::bin, and centRes40_.

◆ getCentRes5()

double HiEvtPlaneFlatten::getCentRes5 ( unsigned int  bin) const
inline

Definition at line 323 of file HiEvtPlaneFlatten.h.

323  {
324  if (bin < 20) {
325  return centRes5_[bin];
326  } else {
327  return 0.;
328  }
329  }

References newFWLiteAna::bin, and centRes5_.

◆ getCentResErr1()

double HiEvtPlaneFlatten::getCentResErr1 ( unsigned int  bin) const
inline

Definition at line 366 of file HiEvtPlaneFlatten.h.

366  {
367  if (bin < 100) {
368  return centResErr1_[bin];
369  } else {
370  return 0.;
371  }
372  }

References newFWLiteAna::bin, and centResErr1_.

◆ getCentResErr10()

double HiEvtPlaneFlatten::getCentResErr10 ( unsigned int  bin) const
inline

Definition at line 387 of file HiEvtPlaneFlatten.h.

387  {
388  if (bin < 10) {
389  return centResErr10_[bin];
390  } else {
391  return 0.;
392  }
393  }

References newFWLiteAna::bin, and centResErr10_.

◆ getCentResErr2()

double HiEvtPlaneFlatten::getCentResErr2 ( unsigned int  bin) const
inline

Definition at line 373 of file HiEvtPlaneFlatten.h.

373  {
374  if (bin < 50) {
375  return centResErr2_[bin];
376  } else {
377  return 0.;
378  }
379  }

References newFWLiteAna::bin, and centResErr2_.

◆ getCentResErr20()

double HiEvtPlaneFlatten::getCentResErr20 ( unsigned int  bin) const
inline

Definition at line 394 of file HiEvtPlaneFlatten.h.

394  {
395  if (bin < 5) {
396  return centResErr20_[bin];
397  } else {
398  return 0.;
399  }
400  }

References newFWLiteAna::bin, and centResErr20_.

◆ getCentResErr25()

double HiEvtPlaneFlatten::getCentResErr25 ( unsigned int  bin) const
inline

Definition at line 401 of file HiEvtPlaneFlatten.h.

401  {
402  if (bin < 4) {
403  return centResErr25_[bin];
404  } else {
405  return 0.;
406  }
407  }

References newFWLiteAna::bin, and centResErr25_.

◆ getCentResErr30()

double HiEvtPlaneFlatten::getCentResErr30 ( unsigned int  bin) const
inline

Definition at line 408 of file HiEvtPlaneFlatten.h.

408  {
409  if (bin < 3) {
410  return centResErr30_[bin];
411  } else {
412  return 0.;
413  }
414  }

References newFWLiteAna::bin, and centResErr30_.

◆ getCentResErr40()

double HiEvtPlaneFlatten::getCentResErr40 ( unsigned int  bin) const
inline

Definition at line 415 of file HiEvtPlaneFlatten.h.

415  {
416  if (bin < 2) {
417  return centResErr40_[bin];
418  } else {
419  return 0.;
420  }
421  }

References newFWLiteAna::bin, and centResErr40_.

◆ getCentResErr5()

double HiEvtPlaneFlatten::getCentResErr5 ( unsigned int  bin) const
inline

Definition at line 380 of file HiEvtPlaneFlatten.h.

380  {
381  if (bin < 20) {
382  return centResErr5_[bin];
383  } else {
384  return 0.;
385  }
386  }

References newFWLiteAna::bin, and centResErr5_.

◆ getCnt()

double HiEvtPlaneFlatten::getCnt ( unsigned int  bin) const
inline

Definition at line 236 of file HiEvtPlaneFlatten.h.

236 { return flatCnt_[bin]; }

References newFWLiteAna::bin, and flatCnt_.

◆ getCoffset()

double HiEvtPlaneFlatten::getCoffset ( double  c,
double  vtx,
int  centbin 
) const
inline

Definition at line 183 of file HiEvtPlaneFlatten.h.

183  {
184  int indx = getOffsetIndx(centbin, vtx);
185  if (indx >= 0)
186  return c - xoffDB_[indx];
187  else
188  return c;
189  }

References HltBtagPostValidation_cff::c, getOffsetIndx(), badGlobalMuonTaggersAOD_cff::vtx, and xoffDB_.

Referenced by HiEvtPlaneFlatProducer::produce().

◆ getCutIndx()

int HiEvtPlaneFlatten::getCutIndx ( int  centbin,
double  vtx,
int  iord 
) const
inline

Definition at line 68 of file HiEvtPlaneFlatten.h.

68  {
69  int cut;
70  if (centbin < 0)
71  return -1;
72  int ibin = centbin;
73  int ivtx = (vtx - minvtx_) / delvtx_;
74  if (vtx < minvtx_ || ivtx >= nvtxbins_)
75  return -1;
76  cut = hOrder_ * nvtxbins_ * ibin + hOrder_ * ivtx + iord;
77  if (cut < 0 || cut >= hbins_)
78  return -1;
79  return cut;
80  }

References TkAlMuonSelectors_cfi::cut, delvtx_, hbins_, hOrder_, minvtx_, nvtxbins_, and badGlobalMuonTaggersAOD_cff::vtx.

Referenced by fill(), and getFlatPsi().

◆ getEtScale()

double HiEvtPlaneFlatten::getEtScale ( double  vtx,
int  centbin 
) const
inline

Definition at line 133 of file HiEvtPlaneFlatten.h.

133  {
134  int refmin = getOffsetIndx(caloCentRefMinBin_, vtx);
135  int refmax = getOffsetIndx(caloCentRefMaxBin_, vtx);
136  double caloCentRefVal_ = 0;
137  for (int i = refmin; i <= refmax; i++) {
138  caloCentRefVal_ += getPtDB(i);
139  }
140  caloCentRefVal_ /= refmax - refmin + 1.;
141  if (caloCentRefMinBin_ < 0)
142  return 1.;
143  int indx = getOffsetIndx(centbin, vtx);
144  if (indx < 0 || caloCentRefVal_ == 0 || getPtDB(indx) == 0)
145  return 1.;
146  return caloCentRefVal_ / getPtDB(indx);
147  }

References caloCentRefMaxBin_, caloCentRefMinBin_, getOffsetIndx(), getPtDB(), mps_fire::i, and badGlobalMuonTaggersAOD_cff::vtx.

Referenced by getW(), and EvtPlaneProducer::produce().

◆ getFlatPsi()

double HiEvtPlaneFlatten::getFlatPsi ( double  psi,
double  vtx,
int  centbin 
) const
inline

Definition at line 161 of file HiEvtPlaneFlatten.h.

161  {
162  double correction = 0;
163  for (int k = 0; k < hOrder_; k++) {
164  int indx = getCutIndx(centbin, vtx, k);
165  if (indx >= 0)
166  correction += (2. / (double)((k + 1) * vorder_)) *
167  (flatXDB_[indx] * sin(vorder_ * (k + 1) * psi) - flatYDB_[indx] * cos(vorder_ * (k + 1) * psi));
168  }
169  psi += correction;
170  psi = bounds(psi);
171  psi = bounds2(psi);
172  return psi;
173  }

References bounds(), bounds2(), pfMETCorrectionType0_cfi::correction, funct::cos(), flatXDB_, flatYDB_, getCutIndx(), hOrder_, dqmdumpme::k, funct::sin(), vorder_, and badGlobalMuonTaggersAOD_cff::vtx.

Referenced by HiEvtPlaneFlatProducer::produce().

◆ getHBins()

int HiEvtPlaneFlatten::getHBins ( ) const
inline

Definition at line 201 of file HiEvtPlaneFlatten.h.

201 { return hbins_; }

References hbins_.

Referenced by LoadEPDB::LoadEPDB().

◆ getNcent()

int HiEvtPlaneFlatten::getNcent ( ) const
inline

Definition at line 206 of file HiEvtPlaneFlatten.h.

206 { return hbins_; }

References hbins_.

◆ getNvtx()

int HiEvtPlaneFlatten::getNvtx ( ) const
inline

Definition at line 203 of file HiEvtPlaneFlatten.h.

203 { return nvtxbins_; }

References nvtxbins_.

◆ getOBins()

int HiEvtPlaneFlatten::getOBins ( ) const
inline

Definition at line 202 of file HiEvtPlaneFlatten.h.

202 { return obins_; }

References obins_.

Referenced by LoadEPDB::LoadEPDB().

◆ getOffsetIndx()

int HiEvtPlaneFlatten::getOffsetIndx ( int  centbin,
double  vtx 
) const
inline

Definition at line 82 of file HiEvtPlaneFlatten.h.

82  {
83  int cut;
84  if (centbin < 0)
85  return -1;
86  int ibin = centbin;
87  int ivtx = (vtx - minvtx_) / delvtx_;
88  if (ivtx < 0 || ivtx > nvtxbins_)
89  return -1;
90  cut = nvtxbins_ * ibin + ivtx;
91  if (cut < 0 || cut > hbins_)
92  return -1;
93  return cut;
94  }

References TkAlMuonSelectors_cfi::cut, delvtx_, hbins_, minvtx_, nvtxbins_, and badGlobalMuonTaggersAOD_cff::vtx.

Referenced by fillOffset(), fillPt(), getCoffset(), getEtScale(), getSoffset(), and getW().

◆ getOffsetPsi()

double HiEvtPlaneFlatten::getOffsetPsi ( double  s,
double  c 
) const
inline

Definition at line 191 of file HiEvtPlaneFlatten.h.

191  {
192  double psi = atan2(s, c) / vorder_;
193  if ((fabs(s) < 1e-4) && (fabs(c) < 1e-4))
194  psi = 0.;
195  psi = bounds(psi);
196  psi = bounds2(psi);
197  return psi;
198  }

References bounds(), bounds2(), HltBtagPostValidation_cff::c, MillePedeFileConverter_cfg::e, alignCSCRings::s, and vorder_.

Referenced by HiEvtPlaneFlatProducer::produce().

◆ getPt()

double HiEvtPlaneFlatten::getPt ( unsigned int  bin) const
inline

Definition at line 216 of file HiEvtPlaneFlatten.h.

216 { return pt_[bin]; }

References newFWLiteAna::bin, and pt_.

◆ getPt2()

double HiEvtPlaneFlatten::getPt2 ( unsigned int  bin) const
inline

Definition at line 217 of file HiEvtPlaneFlatten.h.

217 { return pt2_[bin]; }

References newFWLiteAna::bin, and pt2_.

◆ getPt2DB()

double HiEvtPlaneFlatten::getPt2DB ( unsigned int  bin) const
inline

Definition at line 225 of file HiEvtPlaneFlatten.h.

225  {
226  if (bin < MAXCUTOFF) {
227  return pt2DB_[bin];
228  } else {
229  return 0.;
230  }
231  }

References newFWLiteAna::bin, MAXCUTOFF, and pt2DB_.

Referenced by getW().

◆ getPtcnt()

double HiEvtPlaneFlatten::getPtcnt ( unsigned int  bin) const
inline

Definition at line 232 of file HiEvtPlaneFlatten.h.

232 { return ptcnt_[bin]; }

References newFWLiteAna::bin, and ptcnt_.

◆ getPtDB()

double HiEvtPlaneFlatten::getPtDB ( unsigned int  bin) const
inline

Definition at line 218 of file HiEvtPlaneFlatten.h.

218  {
219  if (bin < MAXCUTOFF) {
220  return ptDB_[bin];
221  } else {
222  return 0.;
223  }
224  }

References newFWLiteAna::bin, MAXCUTOFF, and ptDB_.

Referenced by getEtScale(), and getW().

◆ getSoffset()

double HiEvtPlaneFlatten::getSoffset ( double  s,
double  vtx,
int  centbin 
) const
inline

Definition at line 175 of file HiEvtPlaneFlatten.h.

175  {
176  int indx = getOffsetIndx(centbin, vtx);
177  if (indx >= 0)
178  return s - yoffDB_[indx];
179  else
180  return s;
181  }

References getOffsetIndx(), alignCSCRings::s, badGlobalMuonTaggersAOD_cff::vtx, and yoffDB_.

Referenced by HiEvtPlaneFlatProducer::produce().

◆ getVtxMax()

double HiEvtPlaneFlatten::getVtxMax ( ) const
inline

Definition at line 205 of file HiEvtPlaneFlatten.h.

205 { return minvtx_ + nvtxbins_ * delvtx_; }

References delvtx_, minvtx_, and nvtxbins_.

◆ getVtxMin()

double HiEvtPlaneFlatten::getVtxMin ( ) const
inline

Definition at line 204 of file HiEvtPlaneFlatten.h.

204 { return minvtx_; }

References minvtx_.

◆ getW()

double HiEvtPlaneFlatten::getW ( double  pt,
double  vtx,
int  centbin 
) const
inline

Definition at line 149 of file HiEvtPlaneFlatten.h.

149  {
150  int indx = getOffsetIndx(centbin, vtx);
151  if (indx >= 0) {
152  double scale = getEtScale(vtx, centbin);
153  double ptval = getPtDB(indx) * scale;
154  double pt2val = getPt2DB(indx) * pow(scale, 2);
155  if (ptval > 0)
156  return pt * scale - pt2val / ptval;
157  }
158  return 0.;
159  }

References getEtScale(), getOffsetIndx(), getPt2DB(), getPtDB(), funct::pow(), DiDispStaMuonMonitor_cfi::pt, Scenarios_cff::scale, and badGlobalMuonTaggersAOD_cff::vtx.

Referenced by EvtPlaneProducer::produce().

◆ getX()

double HiEvtPlaneFlatten::getX ( unsigned int  bin) const
inline

Definition at line 208 of file HiEvtPlaneFlatten.h.

208 { return flatX_[bin]; }

References newFWLiteAna::bin, and flatX_.

◆ getXDB()

double HiEvtPlaneFlatten::getXDB ( unsigned int  bin) const
inline

Definition at line 233 of file HiEvtPlaneFlatten.h.

233 { return flatXDB_[bin]; }

References newFWLiteAna::bin, and flatXDB_.

◆ getXoff()

double HiEvtPlaneFlatten::getXoff ( unsigned int  bin) const
inline

Definition at line 210 of file HiEvtPlaneFlatten.h.

210 { return xoff_[bin]; }

References newFWLiteAna::bin, and xoff_.

◆ getXoffDB()

double HiEvtPlaneFlatten::getXoffDB ( unsigned int  bin) const
inline

Definition at line 212 of file HiEvtPlaneFlatten.h.

212 { return xoffDB_[bin]; }

References newFWLiteAna::bin, and xoffDB_.

◆ getXYoffcnt()

double HiEvtPlaneFlatten::getXYoffcnt ( unsigned int  bin) const
inline

Definition at line 214 of file HiEvtPlaneFlatten.h.

214 { return xyoffcnt_[bin]; }

References newFWLiteAna::bin, and xyoffcnt_.

◆ getXYoffmult()

double HiEvtPlaneFlatten::getXYoffmult ( unsigned int  bin) const
inline

Definition at line 215 of file HiEvtPlaneFlatten.h.

215 { return xyoffmult_[bin]; }

References newFWLiteAna::bin, and xyoffmult_.

◆ getY()

double HiEvtPlaneFlatten::getY ( unsigned int  bin) const
inline

Definition at line 209 of file HiEvtPlaneFlatten.h.

209 { return flatY_[bin]; }

References newFWLiteAna::bin, and flatY_.

◆ getYDB()

double HiEvtPlaneFlatten::getYDB ( unsigned int  bin) const
inline

Definition at line 234 of file HiEvtPlaneFlatten.h.

234 { return flatYDB_[bin]; }

References newFWLiteAna::bin, and flatYDB_.

◆ getYoff()

double HiEvtPlaneFlatten::getYoff ( unsigned int  bin) const
inline

Definition at line 211 of file HiEvtPlaneFlatten.h.

211 { return yoff_[bin]; }

References newFWLiteAna::bin, and yoff_.

◆ getYoffDB()

double HiEvtPlaneFlatten::getYoffDB ( unsigned int  bin) const
inline

Definition at line 213 of file HiEvtPlaneFlatten.h.

213 { return yoffDB_[bin]; }

References newFWLiteAna::bin, and yoffDB_.

◆ init()

void HiEvtPlaneFlatten::init ( int  order,
int  nbins,
std::string  tag,
int  vord 
)
inline

Definition at line 35 of file HiEvtPlaneFlatten.h.

35  {
36  hOrder_ = order; //order of flattening
37  vorder_ = vord; //1(v1), 2(v2), 3(v3), 4(v4)
38  caloCentRefMinBin_ = -1;
39  caloCentRefMaxBin_ = -1;
42  if (hbins_ > MAXCUT) {
43  hbins_ = 1;
44  hOrder_ = 9;
45  }
46  for (int i = 0; i < hbins_; i++) {
47  flatX_[i] = 0;
48  flatY_[i] = 0;
49  flatXDB_[i] = 0;
50  flatYDB_[i] = 0;
51  flatCnt_[i] = 0;
52  }
53  for (int i = 0; i < obins_; i++) {
54  xoff_[i] = 0;
55  yoff_[i] = 0;
56  xoffDB_[i] = 0;
57  yoffDB_[i] = 0;
58  xyoffcnt_[i] = 0;
59  xyoffmult_[i] = 0;
60  pt_[i] = 0;
61  pt2_[i] = 0;
62  ptDB_[i] = 0;
63  pt2DB_[i] = 0;
64  ptcnt_[i] = 0;
65  }
66  }

References caloCentRefMaxBin_, caloCentRefMinBin_, flatCnt_, flatX_, flatXDB_, flatY_, flatYDB_, hbins_, hOrder_, mps_fire::i, MAXCUT, LaserClient_cfi::nbins, nvtxbins_, obins_, eventshapeDQM_cfi::order, pt2_, pt2DB_, pt_, ptcnt_, ptDB_, vorder_, xoff_, xoffDB_, xyoffcnt_, xyoffmult_, yoff_, and yoffDB_.

Referenced by EvtPlaneProducer::EvtPlaneProducer(), and HiEvtPlaneFlatProducer::HiEvtPlaneFlatProducer().

◆ setCaloCentRefBins()

void HiEvtPlaneFlatten::setCaloCentRefBins ( const int  caloCentRefMinBin,
const int  caloCentRefMaxBin 
)
inline

Definition at line 128 of file HiEvtPlaneFlatten.h.

128  {
129  caloCentRefMinBin_ = caloCentRefMinBin;
130  caloCentRefMaxBin_ = caloCentRefMaxBin;
131  }

References caloCentRefMaxBin_, and caloCentRefMinBin_.

Referenced by HiEvtPlaneFlatProducer::produce(), and EvtPlaneProducer::produce().

◆ setCentRes1()

void HiEvtPlaneFlatten::setCentRes1 ( unsigned int  bin,
double  res,
double  err 
)
inline

Definition at line 260 of file HiEvtPlaneFlatten.h.

260  {
261  if (bin < 100) {
262  centRes1_[bin] = res;
263  centResErr1_[bin] = err;
264  }
265  }

References newFWLiteAna::bin, centRes1_, centResErr1_, and runTheMatrix::err.

◆ setCentRes10()

void HiEvtPlaneFlatten::setCentRes10 ( unsigned int  bin,
double  res,
double  err 
)
inline

Definition at line 278 of file HiEvtPlaneFlatten.h.

278  {
279  if (bin < 10) {
280  centRes10_[bin] = res;
281  centResErr10_[bin] = err;
282  }
283  }

References newFWLiteAna::bin, centRes10_, centResErr10_, and runTheMatrix::err.

◆ setCentRes2()

void HiEvtPlaneFlatten::setCentRes2 ( unsigned int  bin,
double  res,
double  err 
)
inline

Definition at line 266 of file HiEvtPlaneFlatten.h.

266  {
267  if (bin < 50) {
268  centRes2_[bin] = res;
269  centResErr2_[bin] = err;
270  }
271  }

References newFWLiteAna::bin, centRes2_, centResErr2_, and runTheMatrix::err.

◆ setCentRes20()

void HiEvtPlaneFlatten::setCentRes20 ( unsigned int  bin,
double  res,
double  err 
)
inline

Definition at line 284 of file HiEvtPlaneFlatten.h.

284  {
285  if (bin < 5) {
286  centRes20_[bin] = res;
287  centResErr20_[bin] = err;
288  }
289  }

References newFWLiteAna::bin, centRes20_, centResErr20_, and runTheMatrix::err.

◆ setCentRes25()

void HiEvtPlaneFlatten::setCentRes25 ( unsigned int  bin,
double  res,
double  err 
)
inline

Definition at line 290 of file HiEvtPlaneFlatten.h.

290  {
291  if (bin < 4) {
292  centRes25_[bin] = res;
293  centResErr25_[bin] = err;
294  }
295  }

References newFWLiteAna::bin, centRes25_, centResErr25_, and runTheMatrix::err.

◆ setCentRes30()

void HiEvtPlaneFlatten::setCentRes30 ( unsigned int  bin,
double  res,
double  err 
)
inline

Definition at line 296 of file HiEvtPlaneFlatten.h.

296  {
297  if (bin < 3) {
298  centRes30_[bin] = res;
299  centResErr30_[bin] = err;
300  }
301  }

References newFWLiteAna::bin, centRes30_, centResErr30_, and runTheMatrix::err.

◆ setCentRes40()

void HiEvtPlaneFlatten::setCentRes40 ( unsigned int  bin,
double  res,
double  err 
)
inline

Definition at line 302 of file HiEvtPlaneFlatten.h.

302  {
303  if (bin < 2) {
304  centRes40_[bin] = res;
305  centResErr40_[bin] = err;
306  }
307  }

References newFWLiteAna::bin, centRes40_, centResErr40_, and runTheMatrix::err.

◆ setCentRes5()

void HiEvtPlaneFlatten::setCentRes5 ( unsigned int  bin,
double  res,
double  err 
)
inline

Definition at line 272 of file HiEvtPlaneFlatten.h.

272  {
273  if (bin < 20) {
274  centRes5_[bin] = res;
275  centResErr5_[bin] = err;
276  }
277  }

References newFWLiteAna::bin, centRes5_, centResErr5_, and runTheMatrix::err.

◆ setPt2DB()

void HiEvtPlaneFlatten::setPt2DB ( unsigned int  indx,
double  val 
)
inline

Definition at line 242 of file HiEvtPlaneFlatten.h.

242 { pt2DB_[indx] = val; }

References pt2DB_, and heppy_batch::val.

Referenced by LoadEPDB::LoadEPDB().

◆ setPtDB()

void HiEvtPlaneFlatten::setPtDB ( unsigned int  indx,
double  val 
)
inline

Definition at line 241 of file HiEvtPlaneFlatten.h.

241 { ptDB_[indx] = val; }

References ptDB_, and heppy_batch::val.

Referenced by LoadEPDB::LoadEPDB().

◆ setXDB()

void HiEvtPlaneFlatten::setXDB ( unsigned int  indx,
double  val 
)
inline

Definition at line 237 of file HiEvtPlaneFlatten.h.

237 { flatXDB_[indx] = val; }

References flatXDB_, and heppy_batch::val.

Referenced by LoadEPDB::LoadEPDB().

◆ setXoffDB()

void HiEvtPlaneFlatten::setXoffDB ( unsigned int  indx,
double  val 
)
inline

Definition at line 239 of file HiEvtPlaneFlatten.h.

239 { xoffDB_[indx] = val; }

References heppy_batch::val, and xoffDB_.

Referenced by LoadEPDB::LoadEPDB().

◆ setYDB()

void HiEvtPlaneFlatten::setYDB ( unsigned int  indx,
double  val 
)
inline

Definition at line 238 of file HiEvtPlaneFlatten.h.

238 { flatYDB_[indx] = val; }

References flatYDB_, and heppy_batch::val.

Referenced by LoadEPDB::LoadEPDB().

◆ setYoffDB()

void HiEvtPlaneFlatten::setYoffDB ( unsigned int  indx,
double  val 
)
inline

Definition at line 240 of file HiEvtPlaneFlatten.h.

240 { yoffDB_[indx] = val; }

References heppy_batch::val, and yoffDB_.

Referenced by LoadEPDB::LoadEPDB().

Member Data Documentation

◆ caloCentRefMaxBin_

int HiEvtPlaneFlatten::caloCentRefMaxBin_
private

Definition at line 478 of file HiEvtPlaneFlatten.h.

Referenced by getEtScale(), init(), and setCaloCentRefBins().

◆ caloCentRefMinBin_

int HiEvtPlaneFlatten::caloCentRefMinBin_
private

Definition at line 477 of file HiEvtPlaneFlatten.h.

Referenced by getEtScale(), init(), and setCaloCentRefBins().

◆ centRes10_

double HiEvtPlaneFlatten::centRes10_[10]
private

Definition at line 458 of file HiEvtPlaneFlatten.h.

Referenced by getCentRes10(), and setCentRes10().

◆ centRes1_

double HiEvtPlaneFlatten::centRes1_[100]
private

Definition at line 449 of file HiEvtPlaneFlatten.h.

Referenced by getCentRes1(), and setCentRes1().

◆ centRes20_

double HiEvtPlaneFlatten::centRes20_[5]
private

Definition at line 461 of file HiEvtPlaneFlatten.h.

Referenced by getCentRes20(), and setCentRes20().

◆ centRes25_

double HiEvtPlaneFlatten::centRes25_[4]
private

Definition at line 464 of file HiEvtPlaneFlatten.h.

Referenced by getCentRes25(), and setCentRes25().

◆ centRes2_

double HiEvtPlaneFlatten::centRes2_[50]
private

Definition at line 452 of file HiEvtPlaneFlatten.h.

Referenced by getCentRes2(), and setCentRes2().

◆ centRes30_

double HiEvtPlaneFlatten::centRes30_[3]
private

Definition at line 467 of file HiEvtPlaneFlatten.h.

Referenced by getCentRes30(), and setCentRes30().

◆ centRes40_

double HiEvtPlaneFlatten::centRes40_[2]
private

Definition at line 470 of file HiEvtPlaneFlatten.h.

Referenced by getCentRes40(), and setCentRes40().

◆ centRes5_

double HiEvtPlaneFlatten::centRes5_[20]
private

Definition at line 455 of file HiEvtPlaneFlatten.h.

Referenced by getCentRes5(), and setCentRes5().

◆ centResErr10_

double HiEvtPlaneFlatten::centResErr10_[10]
private

Definition at line 459 of file HiEvtPlaneFlatten.h.

Referenced by getCentResErr10(), and setCentRes10().

◆ centResErr1_

double HiEvtPlaneFlatten::centResErr1_[100]
private

Definition at line 450 of file HiEvtPlaneFlatten.h.

Referenced by getCentResErr1(), and setCentRes1().

◆ centResErr20_

double HiEvtPlaneFlatten::centResErr20_[5]
private

Definition at line 462 of file HiEvtPlaneFlatten.h.

Referenced by getCentResErr20(), and setCentRes20().

◆ centResErr25_

double HiEvtPlaneFlatten::centResErr25_[4]
private

Definition at line 465 of file HiEvtPlaneFlatten.h.

Referenced by getCentResErr25(), and setCentRes25().

◆ centResErr2_

double HiEvtPlaneFlatten::centResErr2_[50]
private

Definition at line 453 of file HiEvtPlaneFlatten.h.

Referenced by getCentResErr2(), and setCentRes2().

◆ centResErr30_

double HiEvtPlaneFlatten::centResErr30_[3]
private

Definition at line 468 of file HiEvtPlaneFlatten.h.

Referenced by getCentResErr30(), and setCentRes30().

◆ centResErr40_

double HiEvtPlaneFlatten::centResErr40_[2]
private

Definition at line 471 of file HiEvtPlaneFlatten.h.

Referenced by getCentResErr40(), and setCentRes40().

◆ centResErr5_

double HiEvtPlaneFlatten::centResErr5_[20]
private

Definition at line 456 of file HiEvtPlaneFlatten.h.

Referenced by getCentResErr5(), and setCentRes5().

◆ delvtx_

constexpr double HiEvtPlaneFlatten::delvtx_ = 5.
staticconstexprprivate

Definition at line 426 of file HiEvtPlaneFlatten.h.

Referenced by getCutIndx(), getOffsetIndx(), and getVtxMax().

◆ flatCnt_

double HiEvtPlaneFlatten::flatCnt_[MAXCUT]
private

Definition at line 434 of file HiEvtPlaneFlatten.h.

Referenced by fill(), getCnt(), and init().

◆ flatX_

double HiEvtPlaneFlatten::flatX_[MAXCUT]
private

Definition at line 430 of file HiEvtPlaneFlatten.h.

Referenced by fill(), getX(), and init().

◆ flatXDB_

double HiEvtPlaneFlatten::flatXDB_[MAXCUT]
private

Definition at line 432 of file HiEvtPlaneFlatten.h.

Referenced by getFlatPsi(), getXDB(), init(), and setXDB().

◆ flatY_

double HiEvtPlaneFlatten::flatY_[MAXCUT]
private

Definition at line 431 of file HiEvtPlaneFlatten.h.

Referenced by fill(), getY(), and init().

◆ flatYDB_

double HiEvtPlaneFlatten::flatYDB_[MAXCUT]
private

Definition at line 433 of file HiEvtPlaneFlatten.h.

Referenced by getFlatPsi(), getYDB(), init(), and setYDB().

◆ hbins_

int HiEvtPlaneFlatten::hbins_
private

◆ hOrder_

int HiEvtPlaneFlatten::hOrder_
private

Definition at line 473 of file HiEvtPlaneFlatten.h.

Referenced by fill(), getCutIndx(), getFlatPsi(), HiEvtPlaneFlatten(), and init().

◆ MAXCUT

const int HiEvtPlaneFlatten::MAXCUT = 10000
staticprivate

Definition at line 427 of file HiEvtPlaneFlatten.h.

Referenced by init().

◆ MAXCUTOFF

const int HiEvtPlaneFlatten::MAXCUTOFF = 1000
staticprivate

Definition at line 428 of file HiEvtPlaneFlatten.h.

Referenced by getPt2DB(), and getPtDB().

◆ minvtx_

constexpr double HiEvtPlaneFlatten::minvtx_ = -25.
staticconstexprprivate

Definition at line 425 of file HiEvtPlaneFlatten.h.

Referenced by getCutIndx(), getOffsetIndx(), getVtxMax(), and getVtxMin().

◆ nvtxbins_

constexpr int HiEvtPlaneFlatten::nvtxbins_ = 10
staticconstexprprivate

Definition at line 424 of file HiEvtPlaneFlatten.h.

Referenced by getCutIndx(), getNvtx(), getOffsetIndx(), getVtxMax(), and init().

◆ obins_

int HiEvtPlaneFlatten::obins_
private

Definition at line 475 of file HiEvtPlaneFlatten.h.

Referenced by getOBins(), and init().

◆ pt2_

double HiEvtPlaneFlatten::pt2_[MAXCUTOFF]
private

Definition at line 444 of file HiEvtPlaneFlatten.h.

Referenced by fillPt(), getPt2(), and init().

◆ pt2DB_

double HiEvtPlaneFlatten::pt2DB_[MAXCUTOFF]
private

Definition at line 446 of file HiEvtPlaneFlatten.h.

Referenced by getPt2DB(), init(), and setPt2DB().

◆ pt_

double HiEvtPlaneFlatten::pt_[MAXCUTOFF]
private

Definition at line 443 of file HiEvtPlaneFlatten.h.

Referenced by fillPt(), getPt(), and init().

◆ ptcnt_

double HiEvtPlaneFlatten::ptcnt_[MAXCUTOFF]
private

Definition at line 447 of file HiEvtPlaneFlatten.h.

Referenced by fillPt(), getPtcnt(), and init().

◆ ptDB_

double HiEvtPlaneFlatten::ptDB_[MAXCUTOFF]
private

Definition at line 445 of file HiEvtPlaneFlatten.h.

Referenced by getPtDB(), init(), and setPtDB().

◆ vorder_

int HiEvtPlaneFlatten::vorder_
private

Definition at line 476 of file HiEvtPlaneFlatten.h.

Referenced by bounds2(), fill(), getFlatPsi(), getOffsetPsi(), HiEvtPlaneFlatten(), and init().

◆ xoff_

double HiEvtPlaneFlatten::xoff_[MAXCUTOFF]
private

Definition at line 436 of file HiEvtPlaneFlatten.h.

Referenced by fillOffset(), getXoff(), and init().

◆ xoffDB_

double HiEvtPlaneFlatten::xoffDB_[MAXCUTOFF]
private

Definition at line 438 of file HiEvtPlaneFlatten.h.

Referenced by getCoffset(), getXoffDB(), init(), and setXoffDB().

◆ xyoffcnt_

double HiEvtPlaneFlatten::xyoffcnt_[MAXCUTOFF]
private

Definition at line 440 of file HiEvtPlaneFlatten.h.

Referenced by fillOffset(), getXYoffcnt(), and init().

◆ xyoffmult_

uint HiEvtPlaneFlatten::xyoffmult_[MAXCUTOFF]
private

Definition at line 441 of file HiEvtPlaneFlatten.h.

Referenced by fillOffset(), getXYoffmult(), and init().

◆ yoff_

double HiEvtPlaneFlatten::yoff_[MAXCUTOFF]
private

Definition at line 437 of file HiEvtPlaneFlatten.h.

Referenced by fillOffset(), getYoff(), and init().

◆ yoffDB_

double HiEvtPlaneFlatten::yoffDB_[MAXCUTOFF]
private

Definition at line 439 of file HiEvtPlaneFlatten.h.

Referenced by getSoffset(), getYoffDB(), init(), and setYoffDB().

FastTimerService_cff.range
range
Definition: FastTimerService_cff.py:34
HiEvtPlaneFlatten::flatX_
double flatX_[MAXCUT]
Definition: HiEvtPlaneFlatten.h:430
HiEvtPlaneFlatten::ptDB_
double ptDB_[MAXCUTOFF]
Definition: HiEvtPlaneFlatten.h:445
HiEvtPlaneFlatten::centResErr5_
double centResErr5_[20]
Definition: HiEvtPlaneFlatten.h:456
mps_fire.i
i
Definition: mps_fire.py:355
HiEvtPlaneFlatten::pt_
double pt_[MAXCUTOFF]
Definition: HiEvtPlaneFlatten.h:443
HiEvtPlaneFlatten::centRes2_
double centRes2_[50]
Definition: HiEvtPlaneFlatten.h:452
TkAlMuonSelectors_cfi.cut
cut
Definition: TkAlMuonSelectors_cfi.py:5
DiDispStaMuonMonitor_cfi.pt
pt
Definition: DiDispStaMuonMonitor_cfi.py:39
HiEvtPlaneFlatten::centRes1_
double centRes1_[100]
Definition: HiEvtPlaneFlatten.h:449
HiEvtPlaneFlatten::minvtx_
static constexpr double minvtx_
Definition: HiEvtPlaneFlatten.h:425
HiEvtPlaneFlatten::centRes20_
double centRes20_[5]
Definition: HiEvtPlaneFlatten.h:461
HiEvtPlaneFlatten::centRes40_
double centRes40_[2]
Definition: HiEvtPlaneFlatten.h:470
HiEvtPlaneFlatten::obins_
int obins_
Definition: HiEvtPlaneFlatten.h:475
HiEvtPlaneFlatten::MAXCUTOFF
static const int MAXCUTOFF
Definition: HiEvtPlaneFlatten.h:428
HiEvtPlaneFlatten::MAXCUT
static const int MAXCUT
Definition: HiEvtPlaneFlatten.h:427
funct::sin
Sin< T >::type sin(const T &t)
Definition: Sin.h:22
alignCSCRings.s
s
Definition: alignCSCRings.py:92
HiEvtPlaneFlatten::ptcnt_
double ptcnt_[MAXCUTOFF]
Definition: HiEvtPlaneFlatten.h:447
HiEvtPlaneFlatten::centRes10_
double centRes10_[10]
Definition: HiEvtPlaneFlatten.h:458
HiEvtPlaneFlatten::hbins_
int hbins_
Definition: HiEvtPlaneFlatten.h:474
funct::cos
Cos< T >::type cos(const T &t)
Definition: Cos.h:22
visualization-live-secondInstance_cfg.m
m
Definition: visualization-live-secondInstance_cfg.py:72
HiEvtPlaneFlatten::centResErr2_
double centResErr2_[50]
Definition: HiEvtPlaneFlatten.h:453
HiEvtPlaneFlatten::nvtxbins_
static constexpr int nvtxbins_
Definition: HiEvtPlaneFlatten.h:424
LaserClient_cfi.nbins
nbins
Definition: LaserClient_cfi.py:51
dqmdumpme.k
k
Definition: dqmdumpme.py:60
HiEvtPlaneFlatten::centResErr20_
double centResErr20_[5]
Definition: HiEvtPlaneFlatten.h:462
HiEvtPlaneFlatten::xoff_
double xoff_[MAXCUTOFF]
Definition: HiEvtPlaneFlatten.h:436
badGlobalMuonTaggersAOD_cff.vtx
vtx
Definition: badGlobalMuonTaggersAOD_cff.py:5
Scenarios_cff.scale
scale
Definition: Scenarios_cff.py:2186
HiEvtPlaneFlatten::xyoffcnt_
double xyoffcnt_[MAXCUTOFF]
Definition: HiEvtPlaneFlatten.h:440
runTheMatrix.err
err
Definition: runTheMatrix.py:288
HiEvtPlaneFlatten::getPtDB
double getPtDB(unsigned int bin) const
Definition: HiEvtPlaneFlatten.h:218
pfMETCorrectionType0_cfi.correction
correction
Definition: pfMETCorrectionType0_cfi.py:39
HiEvtPlaneFlatten::getCutIndx
int getCutIndx(int centbin, double vtx, int iord) const
Definition: HiEvtPlaneFlatten.h:68
HiEvtPlaneFlatten::yoff_
double yoff_[MAXCUTOFF]
Definition: HiEvtPlaneFlatten.h:437
HiEvtPlaneFlatten::centResErr25_
double centResErr25_[4]
Definition: HiEvtPlaneFlatten.h:465
eventshapeDQM_cfi.order
order
Definition: eventshapeDQM_cfi.py:8
HiEvtPlaneFlatten::caloCentRefMaxBin_
int caloCentRefMaxBin_
Definition: HiEvtPlaneFlatten.h:478
M_PI
#define M_PI
Definition: BXVectorInputProducer.cc:50
HiEvtPlaneFlatten::hOrder_
int hOrder_
Definition: HiEvtPlaneFlatten.h:473
HiEvtPlaneFlatten::centRes30_
double centRes30_[3]
Definition: HiEvtPlaneFlatten.h:467
HiEvtPlaneFlatten::flatYDB_
double flatYDB_[MAXCUT]
Definition: HiEvtPlaneFlatten.h:433
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
HiEvtPlaneFlatten::centResErr40_
double centResErr40_[2]
Definition: HiEvtPlaneFlatten.h:471
res
Definition: Electron.h:6
HiEvtPlaneFlatten::centResErr10_
double centResErr10_[10]
Definition: HiEvtPlaneFlatten.h:459
HiEvtPlaneFlatten::centRes5_
double centRes5_[20]
Definition: HiEvtPlaneFlatten.h:455
HiEvtPlaneFlatten::flatXDB_
double flatXDB_[MAXCUT]
Definition: HiEvtPlaneFlatten.h:432
HiEvtPlaneFlatten::getEtScale
double getEtScale(double vtx, int centbin) const
Definition: HiEvtPlaneFlatten.h:133
HiEvtPlaneFlatten::xyoffmult_
uint xyoffmult_[MAXCUTOFF]
Definition: HiEvtPlaneFlatten.h:441
newFWLiteAna.bin
bin
Definition: newFWLiteAna.py:161
HiEvtPlaneFlatten::flatY_
double flatY_[MAXCUT]
Definition: HiEvtPlaneFlatten.h:431
HiEvtPlaneFlatten::bounds2
double bounds2(double ang) const
Definition: HiEvtPlaneFlatten.h:250
psi
std::map< std::string, int, std::less< std::string > > psi
Definition: CountProcessesAction.h:15
HiEvtPlaneFlatten::caloCentRefMinBin_
int caloCentRefMinBin_
Definition: HiEvtPlaneFlatten.h:477
heppy_batch.val
val
Definition: heppy_batch.py:351
HiEvtPlaneFlatten::xoffDB_
double xoffDB_[MAXCUTOFF]
Definition: HiEvtPlaneFlatten.h:438
HiEvtPlaneFlatten::delvtx_
static constexpr double delvtx_
Definition: HiEvtPlaneFlatten.h:426
HiEvtPlaneFlatten::bounds
double bounds(double ang) const
Definition: HiEvtPlaneFlatten.h:243
HiEvtPlaneFlatten::flatCnt_
double flatCnt_[MAXCUT]
Definition: HiEvtPlaneFlatten.h:434
HiEvtPlaneFlatten::vorder_
int vorder_
Definition: HiEvtPlaneFlatten.h:476
HiEvtPlaneFlatten::getPt2DB
double getPt2DB(unsigned int bin) const
Definition: HiEvtPlaneFlatten.h:225
HiEvtPlaneFlatten::pt2DB_
double pt2DB_[MAXCUTOFF]
Definition: HiEvtPlaneFlatten.h:446
funct::pow
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:30
HiEvtPlaneFlatten::centResErr1_
double centResErr1_[100]
Definition: HiEvtPlaneFlatten.h:450
HiEvtPlaneFlatten::getOffsetIndx
int getOffsetIndx(int centbin, double vtx) const
Definition: HiEvtPlaneFlatten.h:82
HiEvtPlaneFlatten::pt2_
double pt2_[MAXCUTOFF]
Definition: HiEvtPlaneFlatten.h:444
HiEvtPlaneFlatten::yoffDB_
double yoffDB_[MAXCUTOFF]
Definition: HiEvtPlaneFlatten.h:439
HiEvtPlaneFlatten::centResErr30_
double centResErr30_[3]
Definition: HiEvtPlaneFlatten.h:468
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
HiEvtPlaneFlatten::centRes25_
double centRes25_[4]
Definition: HiEvtPlaneFlatten.h:464