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
 
double coffset (double c, double vtx, int centbin) const
 
int cutIndx (int centbin, double vtx, int iord) const
 
double etScale (double vtx, int centbin) 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 getFlatPsi (double psi, double vtx, int centbin) const
 
int getHBins () const
 
int getNcent () const
 
int getNvtx () const
 
int getOBins () 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 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, int nvtxbins=10, double minvtx=-25, double delvtx=5, std::string tag="", int vord=2)
 
float maxCent (int indx) const
 
double maxVtx (int indx) const
 
float minCent (int indx) const
 
double minVtx (int indx) const
 
int offsetIndx (int centbin, double vtx) const
 
double offsetPsi (double s, double c) const
 
std::string rangeString (int indx)
 
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)
 
double soffset (double s, double vtx, int centbin) const
 
 ~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 delvtx_
 
double flatCnt_ [MAXCUT]
 
double flatX_ [MAXCUT]
 
double flatXDB_ [MAXCUT]
 
double flatY_ [MAXCUT]
 
double flatYDB_ [MAXCUT]
 
int hbins_
 
int hOrder_
 
double minvtx_
 
int nbins_
 
int nvtxbins_
 
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 const int MAXCUT = 10000
 
static const int MAXCUTOFF = 1000
 

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 239 of file HiEvtPlaneFlatten.h.

239 {}

Member Function Documentation

◆ bounds()

double HiEvtPlaneFlatten::bounds ( double  ang) const
inline

Definition at line 282 of file HiEvtPlaneFlatten.h.

282  {
283  if (ang < -M_PI)
284  ang += 2. * M_PI;
285  if (ang > M_PI)
286  ang -= 2. * M_PI;
287  return ang;
288  }

References M_PI.

Referenced by getFlatPsi(), and offsetPsi().

◆ bounds2()

double HiEvtPlaneFlatten::bounds2 ( double  ang) const
inline

Definition at line 289 of file HiEvtPlaneFlatten.h.

289  {
290  double range = M_PI / (double)vorder_;
291  while (ang < -range) {
292  ang += 2 * range;
293  }
294  while (ang > range) {
295  ang -= 2 * range;
296  }
297  return ang;
298  }

References M_PI, FastTimerService_cff::range, and vorder_.

Referenced by getFlatPsi(), and offsetPsi().

◆ coffset()

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

Definition at line 196 of file HiEvtPlaneFlatten.h.

196  {
197  int indx = offsetIndx(centbin, vtx);
198  if (indx >= 0)
199  return c - xoffDB_[indx];
200  else
201  return c;
202  }

References HltBtagPostValidation_cff::c, offsetIndx(), extraflags_cff::vtx, and xoffDB_.

Referenced by HiEvtPlaneFlatProducer::produce().

◆ cutIndx()

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

Definition at line 79 of file HiEvtPlaneFlatten.h.

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

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

Referenced by fill(), and getFlatPsi().

◆ etScale()

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

Definition at line 144 of file HiEvtPlaneFlatten.h.

144  {
145  int refmin = offsetIndx(caloCentRefMinBin_, vtx);
146  int refmax = offsetIndx(caloCentRefMaxBin_, vtx);
147  double caloCentRefVal_ = 0;
148  for (int i = refmin; i <= refmax; i++) {
149  caloCentRefVal_ += getPtDB(i);
150  }
151  caloCentRefVal_ /= refmax - refmin + 1.;
152  if (caloCentRefMinBin_ < 0)
153  return 1.;
154  int indx = offsetIndx(centbin, vtx);
155  if (indx < 0 || caloCentRefVal_ == 0 || getPtDB(indx) == 0)
156  return 1.;
157  return caloCentRefVal_ / getPtDB(indx);
158  }

References caloCentRefMaxBin_, caloCentRefMinBin_, getPtDB(), mps_fire::i, offsetIndx(), and extraflags_cff::vtx.

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

◆ fill()

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

Definition at line 107 of file HiEvtPlaneFlatten.h.

107  {
108  if (fabs(psi) > 4)
109  return;
110  for (int k = 0; k < hOrder_; k++) {
111  double fsin = sin(vorder_ * (k + 1) * psi);
112  double fcos = cos(vorder_ * (k + 1) * psi);
113  int indx = cutIndx(centbin, vtx, k);
114  if (indx >= 0) {
115  flatX_[indx] += fcos;
116  flatY_[indx] += fsin;
117  ++flatCnt_[indx];
118  }
119  }
120  }

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

◆ fillOffset()

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

Definition at line 121 of file HiEvtPlaneFlatten.h.

121  {
122  int indx = offsetIndx(centbin, vtx);
123  if (indx >= 0) {
124  xoff_[indx] += c;
125  yoff_[indx] += s;
126  xyoffmult_[indx] += m;
127  ++xyoffcnt_[indx];
128  }
129  }

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

◆ fillPt()

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

Definition at line 130 of file HiEvtPlaneFlatten.h.

130  {
131  int indx = offsetIndx(centbin, vtx);
132  if (indx >= 0) {
133  pt_[indx] += ptval;
134  pt2_[indx] += ptval * ptval;
135  ++ptcnt_[indx];
136  }
137  }

References offsetIndx(), pt2_, pt_, ptcnt_, and extraflags_cff::vtx.

◆ getCentRes1()

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

Definition at line 348 of file HiEvtPlaneFlatten.h.

348  {
349  if (bin < 100) {
350  return centRes1_[bin];
351  } else {
352  return 0.;
353  }
354  }

References newFWLiteAna::bin, and centRes1_.

◆ getCentRes10()

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

Definition at line 369 of file HiEvtPlaneFlatten.h.

369  {
370  if (bin < 10) {
371  return centRes10_[bin];
372  } else {
373  return 0.;
374  }
375  }

References newFWLiteAna::bin, and centRes10_.

◆ getCentRes2()

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

Definition at line 355 of file HiEvtPlaneFlatten.h.

355  {
356  if (bin < 50) {
357  return centRes2_[bin];
358  } else {
359  return 0.;
360  }
361  }

References newFWLiteAna::bin, and centRes2_.

◆ getCentRes20()

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

Definition at line 376 of file HiEvtPlaneFlatten.h.

376  {
377  if (bin < 5) {
378  return centRes20_[bin];
379  } else {
380  return 0.;
381  }
382  }

References newFWLiteAna::bin, and centRes20_.

◆ getCentRes25()

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

Definition at line 383 of file HiEvtPlaneFlatten.h.

383  {
384  if (bin < 4) {
385  return centRes25_[bin];
386  } else {
387  return 0.;
388  }
389  }

References newFWLiteAna::bin, and centRes25_.

◆ getCentRes30()

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

Definition at line 390 of file HiEvtPlaneFlatten.h.

390  {
391  if (bin < 3) {
392  return centRes30_[bin];
393  } else {
394  return 0.;
395  }
396  }

References newFWLiteAna::bin, and centRes30_.

◆ getCentRes40()

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

Definition at line 397 of file HiEvtPlaneFlatten.h.

397  {
398  if (bin < 2) {
399  return centRes40_[bin];
400  } else {
401  return 0.;
402  }
403  }

References newFWLiteAna::bin, and centRes40_.

◆ getCentRes5()

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

Definition at line 362 of file HiEvtPlaneFlatten.h.

362  {
363  if (bin < 20) {
364  return centRes5_[bin];
365  } else {
366  return 0.;
367  }
368  }

References newFWLiteAna::bin, and centRes5_.

◆ getCentResErr1()

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

Definition at line 405 of file HiEvtPlaneFlatten.h.

405  {
406  if (bin < 100) {
407  return centResErr1_[bin];
408  } else {
409  return 0.;
410  }
411  }

References newFWLiteAna::bin, and centResErr1_.

◆ getCentResErr10()

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

Definition at line 426 of file HiEvtPlaneFlatten.h.

426  {
427  if (bin < 10) {
428  return centResErr10_[bin];
429  } else {
430  return 0.;
431  }
432  }

References newFWLiteAna::bin, and centResErr10_.

◆ getCentResErr2()

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

Definition at line 412 of file HiEvtPlaneFlatten.h.

412  {
413  if (bin < 50) {
414  return centResErr2_[bin];
415  } else {
416  return 0.;
417  }
418  }

References newFWLiteAna::bin, and centResErr2_.

◆ getCentResErr20()

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

Definition at line 433 of file HiEvtPlaneFlatten.h.

433  {
434  if (bin < 5) {
435  return centResErr20_[bin];
436  } else {
437  return 0.;
438  }
439  }

References newFWLiteAna::bin, and centResErr20_.

◆ getCentResErr25()

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

Definition at line 440 of file HiEvtPlaneFlatten.h.

440  {
441  if (bin < 4) {
442  return centResErr25_[bin];
443  } else {
444  return 0.;
445  }
446  }

References newFWLiteAna::bin, and centResErr25_.

◆ getCentResErr30()

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

Definition at line 447 of file HiEvtPlaneFlatten.h.

447  {
448  if (bin < 3) {
449  return centResErr30_[bin];
450  } else {
451  return 0.;
452  }
453  }

References newFWLiteAna::bin, and centResErr30_.

◆ getCentResErr40()

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

Definition at line 454 of file HiEvtPlaneFlatten.h.

454  {
455  if (bin < 2) {
456  return centResErr40_[bin];
457  } else {
458  return 0.;
459  }
460  }

References newFWLiteAna::bin, and centResErr40_.

◆ getCentResErr5()

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

Definition at line 419 of file HiEvtPlaneFlatten.h.

419  {
420  if (bin < 20) {
421  return centResErr5_[bin];
422  } else {
423  return 0.;
424  }
425  }

References newFWLiteAna::bin, and centResErr5_.

◆ getCnt()

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

Definition at line 275 of file HiEvtPlaneFlatten.h.

275 { return flatCnt_[bin]; }

References newFWLiteAna::bin, and flatCnt_.

◆ getFlatPsi()

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

Definition at line 173 of file HiEvtPlaneFlatten.h.

173  {
174  double correction = 0;
175  for (int k = 0; k < hOrder_; k++) {
176  int indx = cutIndx(centbin, vtx, k);
177  if (indx >= 0)
178  correction += (2. / (double)((k + 1) * vorder_)) *
179  (flatXDB_[indx] * sin(vorder_ * (k + 1) * psi) - flatYDB_[indx] * cos(vorder_ * (k + 1) * psi));
180  }
181  psi += correction;
182  psi = bounds(psi);
183  psi = bounds2(psi);
184  return psi;
185  }

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

Referenced by HiEvtPlaneFlatProducer::produce().

◆ getHBins()

int HiEvtPlaneFlatten::getHBins ( ) const
inline

Definition at line 240 of file HiEvtPlaneFlatten.h.

240 { return hbins_; }

References hbins_.

Referenced by LoadEPDB::LoadEPDB().

◆ getNcent()

int HiEvtPlaneFlatten::getNcent ( ) const
inline

Definition at line 245 of file HiEvtPlaneFlatten.h.

245 { return hbins_; }

References hbins_.

◆ getNvtx()

int HiEvtPlaneFlatten::getNvtx ( ) const
inline

Definition at line 242 of file HiEvtPlaneFlatten.h.

242 { return nvtxbins_; }

References nvtxbins_.

◆ getOBins()

int HiEvtPlaneFlatten::getOBins ( ) const
inline

Definition at line 241 of file HiEvtPlaneFlatten.h.

241 { return obins_; }

References obins_.

Referenced by LoadEPDB::LoadEPDB().

◆ getPt()

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

Definition at line 255 of file HiEvtPlaneFlatten.h.

255 { return pt_[bin]; }

References newFWLiteAna::bin, and pt_.

◆ getPt2()

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

Definition at line 256 of file HiEvtPlaneFlatten.h.

256 { return pt2_[bin]; }

References newFWLiteAna::bin, and pt2_.

◆ getPt2DB()

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

Definition at line 264 of file HiEvtPlaneFlatten.h.

264  {
265  if (bin < MAXCUTOFF) {
266  return pt2DB_[bin];
267  } else {
268  return 0.;
269  }
270  }

References newFWLiteAna::bin, MAXCUTOFF, and pt2DB_.

Referenced by getW().

◆ getPtcnt()

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

Definition at line 271 of file HiEvtPlaneFlatten.h.

271 { return ptcnt_[bin]; }

References newFWLiteAna::bin, and ptcnt_.

◆ getPtDB()

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

Definition at line 257 of file HiEvtPlaneFlatten.h.

257  {
258  if (bin < MAXCUTOFF) {
259  return ptDB_[bin];
260  } else {
261  return 0.;
262  }
263  }

References newFWLiteAna::bin, MAXCUTOFF, and ptDB_.

Referenced by etScale(), and getW().

◆ getVtxMax()

double HiEvtPlaneFlatten::getVtxMax ( ) const
inline

Definition at line 244 of file HiEvtPlaneFlatten.h.

244 { return minvtx_ + nvtxbins_ * delvtx_; }

References delvtx_, minvtx_, and nvtxbins_.

◆ getVtxMin()

double HiEvtPlaneFlatten::getVtxMin ( ) const
inline

Definition at line 243 of file HiEvtPlaneFlatten.h.

243 { return minvtx_; }

References minvtx_.

◆ getW()

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

Definition at line 160 of file HiEvtPlaneFlatten.h.

160  {
161  int indx = offsetIndx(centbin, vtx);
162  if (indx >= 0) {
163  double scale = etScale(vtx, centbin);
164  double ptval = getPtDB(indx) * scale;
165  double pt2val = getPt2DB(indx) * pow(scale, 2);
166  double rv = pt * scale - pt2val / ptval;
167  if (ptval > 0)
168  return rv;
169  }
170  return 0.;
171  }

References etScale(), getPt2DB(), getPtDB(), offsetIndx(), funct::pow(), DiDispStaMuonMonitor_cfi::pt, HLT_FULL_cff::scale, and extraflags_cff::vtx.

Referenced by EvtPlaneProducer::fillCastor(), EvtPlaneProducer::fillHF(), and EvtPlaneProducer::fillTracker().

◆ getX()

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

Definition at line 247 of file HiEvtPlaneFlatten.h.

247 { return flatX_[bin]; }

References newFWLiteAna::bin, and flatX_.

◆ getXDB()

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

Definition at line 272 of file HiEvtPlaneFlatten.h.

272 { return flatXDB_[bin]; }

References newFWLiteAna::bin, and flatXDB_.

◆ getXoff()

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

Definition at line 249 of file HiEvtPlaneFlatten.h.

249 { return xoff_[bin]; }

References newFWLiteAna::bin, and xoff_.

◆ getXoffDB()

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

Definition at line 251 of file HiEvtPlaneFlatten.h.

251 { return xoffDB_[bin]; }

References newFWLiteAna::bin, and xoffDB_.

◆ getXYoffcnt()

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

Definition at line 253 of file HiEvtPlaneFlatten.h.

253 { return xyoffcnt_[bin]; }

References newFWLiteAna::bin, and xyoffcnt_.

◆ getXYoffmult()

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

Definition at line 254 of file HiEvtPlaneFlatten.h.

254 { return xyoffmult_[bin]; }

References newFWLiteAna::bin, and xyoffmult_.

◆ getY()

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

Definition at line 248 of file HiEvtPlaneFlatten.h.

248 { return flatY_[bin]; }

References newFWLiteAna::bin, and flatY_.

◆ getYDB()

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

Definition at line 273 of file HiEvtPlaneFlatten.h.

273 { return flatYDB_[bin]; }

References newFWLiteAna::bin, and flatYDB_.

◆ getYoff()

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

Definition at line 250 of file HiEvtPlaneFlatten.h.

250 { return yoff_[bin]; }

References newFWLiteAna::bin, and yoff_.

◆ getYoffDB()

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

Definition at line 252 of file HiEvtPlaneFlatten.h.

252 { return yoffDB_[bin]; }

References newFWLiteAna::bin, and yoffDB_.

◆ init()

void HiEvtPlaneFlatten::init ( int  order,
int  nbins,
int  nvtxbins = 10,
double  minvtx = -25,
double  delvtx = 5,
std::string  tag = "",
int  vord = 2 
)
inline

Definition at line 35 of file HiEvtPlaneFlatten.h.

41  {
42  hOrder_ = order; //order of flattening
43  vorder_ = vord; //1(v1), 2(v2), 3(v3), 4(v4)
44  nvtxbins_ = nvtxbins;
45  nbins_ = nbins;
46  minvtx_ = minvtx;
47  delvtx_ = delvtx;
48 
49  caloCentRefMinBin_ = -1;
50  caloCentRefMaxBin_ = -1;
53  if (hbins_ > MAXCUT) {
54  hbins_ = 1;
55  hOrder_ = 9;
56  }
57  for (int i = 0; i < hbins_; i++) {
58  flatX_[i] = 0;
59  flatY_[i] = 0;
60  flatXDB_[i] = 0;
61  flatYDB_[i] = 0;
62  flatCnt_[i] = 0;
63  }
64  for (int i = 0; i < obins_; i++) {
65  xoff_[i] = 0;
66  yoff_[i] = 0;
67  xoffDB_[i] = 0;
68  yoffDB_[i] = 0;
69  xyoffcnt_[i] = 0;
70  xyoffmult_[i] = 0;
71  pt_[i] = 0;
72  pt2_[i] = 0;
73  ptDB_[i] = 0;
74  pt2DB_[i] = 0;
75  ptcnt_[i] = 0;
76  }
77  }

References caloCentRefMaxBin_, caloCentRefMinBin_, delvtx_, flatCnt_, flatX_, flatXDB_, flatY_, flatYDB_, hbins_, hOrder_, mps_fire::i, MAXCUT, minvtx_, LaserClient_cfi::nbins, 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().

◆ maxCent()

float HiEvtPlaneFlatten::maxCent ( int  indx) const
inline

Definition at line 218 of file HiEvtPlaneFlatten.h.

218  {
219  int ibin = indx / nvtxbins_;
220  return (ibin + 1) * 100. / nbins_;
221  }

References nbins_, and nvtxbins_.

Referenced by rangeString().

◆ maxVtx()

double HiEvtPlaneFlatten::maxVtx ( int  indx) const
inline

Definition at line 228 of file HiEvtPlaneFlatten.h.

228  {
229  int ivtx = indx - nvtxbins_ * (int)(indx / nvtxbins_);
230  return minvtx_ + (ivtx + 1) * delvtx_;
231  }

References delvtx_, createfilelist::int, minvtx_, and nvtxbins_.

Referenced by rangeString().

◆ minCent()

float HiEvtPlaneFlatten::minCent ( int  indx) const
inline

Definition at line 213 of file HiEvtPlaneFlatten.h.

213  {
214  int ibin = indx / nvtxbins_;
215  return ibin * 100. / nbins_;
216  }

References nbins_, and nvtxbins_.

Referenced by rangeString().

◆ minVtx()

double HiEvtPlaneFlatten::minVtx ( int  indx) const
inline

Definition at line 223 of file HiEvtPlaneFlatten.h.

223  {
224  int ivtx = indx - nvtxbins_ * (int)(indx / nvtxbins_);
225  return minvtx_ + ivtx * delvtx_;
226  }

References delvtx_, createfilelist::int, minvtx_, and nvtxbins_.

Referenced by rangeString().

◆ offsetIndx()

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

Definition at line 93 of file HiEvtPlaneFlatten.h.

93  {
94  int cut;
95  if (centbin < 0)
96  return -1;
97  int ibin = centbin;
98  int ivtx = (vtx - minvtx_) / delvtx_;
99  if (ivtx < 0 || ivtx > nvtxbins_)
100  return -1;
101  cut = nvtxbins_ * ibin + ivtx;
102  if (cut < 0 || cut > hbins_)
103  return -1;
104  return cut;
105  }

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

Referenced by coffset(), etScale(), fillOffset(), fillPt(), getW(), and soffset().

◆ offsetPsi()

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

Definition at line 204 of file HiEvtPlaneFlatten.h.

204  {
205  double psi = atan2(s, c) / vorder_;
206  if ((fabs(s) < 1e-4) && (fabs(c) < 1e-4))
207  psi = 0.;
208  psi = bounds(psi);
209  psi = bounds2(psi);
210  return psi;
211  }

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

Referenced by HiEvtPlaneFlatProducer::produce().

◆ rangeString()

std::string HiEvtPlaneFlatten::rangeString ( int  indx)
inline

Definition at line 233 of file HiEvtPlaneFlatten.h.

233  {
234  char buf[120];
235  sprintf(buf, "%5.1f < cent < %5.1f; %4.1f < vtx < %4.1f", minCent(indx), maxCent(indx), minVtx(indx), maxVtx(indx));
236  return std::string(buf);
237  }

References visDQMUpload::buf, maxCent(), maxVtx(), minCent(), minVtx(), and AlCaHLTBitMon_QueryRunRegistry::string.

◆ setCaloCentRefBins()

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

Definition at line 139 of file HiEvtPlaneFlatten.h.

139  {
140  caloCentRefMinBin_ = caloCentRefMinBin;
141  caloCentRefMaxBin_ = caloCentRefMaxBin;
142  }

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 299 of file HiEvtPlaneFlatten.h.

299  {
300  if (bin < 100) {
301  centRes1_[bin] = res;
302  centResErr1_[bin] = err;
303  }
304  }

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

Referenced by LoadEPDB::LoadEPDB().

◆ setCentRes10()

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

Definition at line 317 of file HiEvtPlaneFlatten.h.

317  {
318  if (bin < 10) {
319  centRes10_[bin] = res;
320  centResErr10_[bin] = err;
321  }
322  }

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

◆ setCentRes2()

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

Definition at line 305 of file HiEvtPlaneFlatten.h.

305  {
306  if (bin < 50) {
307  centRes2_[bin] = res;
308  centResErr2_[bin] = err;
309  }
310  }

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

◆ setCentRes20()

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

Definition at line 323 of file HiEvtPlaneFlatten.h.

323  {
324  if (bin < 5) {
325  centRes20_[bin] = res;
326  centResErr20_[bin] = err;
327  }
328  }

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

◆ setCentRes25()

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

Definition at line 329 of file HiEvtPlaneFlatten.h.

329  {
330  if (bin < 4) {
331  centRes25_[bin] = res;
332  centResErr25_[bin] = err;
333  }
334  }

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

◆ setCentRes30()

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

Definition at line 335 of file HiEvtPlaneFlatten.h.

335  {
336  if (bin < 3) {
337  centRes30_[bin] = res;
338  centResErr30_[bin] = err;
339  }
340  }

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

◆ setCentRes40()

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

Definition at line 341 of file HiEvtPlaneFlatten.h.

341  {
342  if (bin < 2) {
343  centRes40_[bin] = res;
344  centResErr40_[bin] = err;
345  }
346  }

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

◆ setCentRes5()

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

Definition at line 311 of file HiEvtPlaneFlatten.h.

311  {
312  if (bin < 20) {
313  centRes5_[bin] = res;
314  centResErr5_[bin] = err;
315  }
316  }

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

◆ setPt2DB()

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

Definition at line 281 of file HiEvtPlaneFlatten.h.

281 { 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 280 of file HiEvtPlaneFlatten.h.

280 { 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 276 of file HiEvtPlaneFlatten.h.

276 { 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 278 of file HiEvtPlaneFlatten.h.

278 { 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 277 of file HiEvtPlaneFlatten.h.

277 { 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 279 of file HiEvtPlaneFlatten.h.

279 { yoffDB_[indx] = val; }

References heppy_batch::val, and yoffDB_.

Referenced by LoadEPDB::LoadEPDB().

◆ soffset()

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

Definition at line 187 of file HiEvtPlaneFlatten.h.

187  {
188  int indx = offsetIndx(centbin, vtx);
189  if (indx >= 0) {
190  return s - yoffDB_[indx];
191  } else {
192  return s;
193  }
194  }

References offsetIndx(), alignCSCRings::s, extraflags_cff::vtx, and yoffDB_.

Referenced by HiEvtPlaneFlatProducer::produce().

Member Data Documentation

◆ caloCentRefMaxBin_

int HiEvtPlaneFlatten::caloCentRefMaxBin_
private

Definition at line 518 of file HiEvtPlaneFlatten.h.

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

◆ caloCentRefMinBin_

int HiEvtPlaneFlatten::caloCentRefMinBin_
private

Definition at line 517 of file HiEvtPlaneFlatten.h.

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

◆ centRes10_

double HiEvtPlaneFlatten::centRes10_[10]
private

Definition at line 494 of file HiEvtPlaneFlatten.h.

Referenced by getCentRes10(), and setCentRes10().

◆ centRes1_

double HiEvtPlaneFlatten::centRes1_[100]
private

Definition at line 485 of file HiEvtPlaneFlatten.h.

Referenced by getCentRes1(), and setCentRes1().

◆ centRes20_

double HiEvtPlaneFlatten::centRes20_[5]
private

Definition at line 497 of file HiEvtPlaneFlatten.h.

Referenced by getCentRes20(), and setCentRes20().

◆ centRes25_

double HiEvtPlaneFlatten::centRes25_[4]
private

Definition at line 500 of file HiEvtPlaneFlatten.h.

Referenced by getCentRes25(), and setCentRes25().

◆ centRes2_

double HiEvtPlaneFlatten::centRes2_[50]
private

Definition at line 488 of file HiEvtPlaneFlatten.h.

Referenced by getCentRes2(), and setCentRes2().

◆ centRes30_

double HiEvtPlaneFlatten::centRes30_[3]
private

Definition at line 503 of file HiEvtPlaneFlatten.h.

Referenced by getCentRes30(), and setCentRes30().

◆ centRes40_

double HiEvtPlaneFlatten::centRes40_[2]
private

Definition at line 506 of file HiEvtPlaneFlatten.h.

Referenced by getCentRes40(), and setCentRes40().

◆ centRes5_

double HiEvtPlaneFlatten::centRes5_[20]
private

Definition at line 491 of file HiEvtPlaneFlatten.h.

Referenced by getCentRes5(), and setCentRes5().

◆ centResErr10_

double HiEvtPlaneFlatten::centResErr10_[10]
private

Definition at line 495 of file HiEvtPlaneFlatten.h.

Referenced by getCentResErr10(), and setCentRes10().

◆ centResErr1_

double HiEvtPlaneFlatten::centResErr1_[100]
private

Definition at line 486 of file HiEvtPlaneFlatten.h.

Referenced by getCentResErr1(), and setCentRes1().

◆ centResErr20_

double HiEvtPlaneFlatten::centResErr20_[5]
private

Definition at line 498 of file HiEvtPlaneFlatten.h.

Referenced by getCentResErr20(), and setCentRes20().

◆ centResErr25_

double HiEvtPlaneFlatten::centResErr25_[4]
private

Definition at line 501 of file HiEvtPlaneFlatten.h.

Referenced by getCentResErr25(), and setCentRes25().

◆ centResErr2_

double HiEvtPlaneFlatten::centResErr2_[50]
private

Definition at line 489 of file HiEvtPlaneFlatten.h.

Referenced by getCentResErr2(), and setCentRes2().

◆ centResErr30_

double HiEvtPlaneFlatten::centResErr30_[3]
private

Definition at line 504 of file HiEvtPlaneFlatten.h.

Referenced by getCentResErr30(), and setCentRes30().

◆ centResErr40_

double HiEvtPlaneFlatten::centResErr40_[2]
private

Definition at line 507 of file HiEvtPlaneFlatten.h.

Referenced by getCentResErr40(), and setCentRes40().

◆ centResErr5_

double HiEvtPlaneFlatten::centResErr5_[20]
private

Definition at line 492 of file HiEvtPlaneFlatten.h.

Referenced by getCentResErr5(), and setCentRes5().

◆ delvtx_

double HiEvtPlaneFlatten::delvtx_
private

Definition at line 512 of file HiEvtPlaneFlatten.h.

Referenced by cutIndx(), getVtxMax(), init(), maxVtx(), minVtx(), and offsetIndx().

◆ flatCnt_

double HiEvtPlaneFlatten::flatCnt_[MAXCUT]
private

Definition at line 470 of file HiEvtPlaneFlatten.h.

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

◆ flatX_

double HiEvtPlaneFlatten::flatX_[MAXCUT]
private

Definition at line 466 of file HiEvtPlaneFlatten.h.

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

◆ flatXDB_

double HiEvtPlaneFlatten::flatXDB_[MAXCUT]
private

Definition at line 468 of file HiEvtPlaneFlatten.h.

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

◆ flatY_

double HiEvtPlaneFlatten::flatY_[MAXCUT]
private

Definition at line 467 of file HiEvtPlaneFlatten.h.

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

◆ flatYDB_

double HiEvtPlaneFlatten::flatYDB_[MAXCUT]
private

Definition at line 469 of file HiEvtPlaneFlatten.h.

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

◆ hbins_

int HiEvtPlaneFlatten::hbins_
private

Definition at line 514 of file HiEvtPlaneFlatten.h.

Referenced by cutIndx(), getHBins(), getNcent(), HiEvtPlaneFlatten(), init(), and offsetIndx().

◆ hOrder_

int HiEvtPlaneFlatten::hOrder_
private

Definition at line 513 of file HiEvtPlaneFlatten.h.

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

◆ MAXCUT

const int HiEvtPlaneFlatten::MAXCUT = 10000
staticprivate

Definition at line 463 of file HiEvtPlaneFlatten.h.

Referenced by init().

◆ MAXCUTOFF

const int HiEvtPlaneFlatten::MAXCUTOFF = 1000
staticprivate

Definition at line 464 of file HiEvtPlaneFlatten.h.

Referenced by getPt2DB(), and getPtDB().

◆ minvtx_

double HiEvtPlaneFlatten::minvtx_
private

Definition at line 511 of file HiEvtPlaneFlatten.h.

Referenced by cutIndx(), getVtxMax(), getVtxMin(), init(), maxVtx(), minVtx(), and offsetIndx().

◆ nbins_

int HiEvtPlaneFlatten::nbins_
private

Definition at line 510 of file HiEvtPlaneFlatten.h.

Referenced by init(), maxCent(), and minCent().

◆ nvtxbins_

int HiEvtPlaneFlatten::nvtxbins_
private

◆ obins_

int HiEvtPlaneFlatten::obins_
private

Definition at line 515 of file HiEvtPlaneFlatten.h.

Referenced by getOBins(), and init().

◆ pt2_

double HiEvtPlaneFlatten::pt2_[MAXCUTOFF]
private

Definition at line 480 of file HiEvtPlaneFlatten.h.

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

◆ pt2DB_

double HiEvtPlaneFlatten::pt2DB_[MAXCUTOFF]
private

Definition at line 482 of file HiEvtPlaneFlatten.h.

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

◆ pt_

double HiEvtPlaneFlatten::pt_[MAXCUTOFF]
private

Definition at line 479 of file HiEvtPlaneFlatten.h.

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

◆ ptcnt_

double HiEvtPlaneFlatten::ptcnt_[MAXCUTOFF]
private

Definition at line 483 of file HiEvtPlaneFlatten.h.

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

◆ ptDB_

double HiEvtPlaneFlatten::ptDB_[MAXCUTOFF]
private

Definition at line 481 of file HiEvtPlaneFlatten.h.

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

◆ vorder_

int HiEvtPlaneFlatten::vorder_
private

Definition at line 516 of file HiEvtPlaneFlatten.h.

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

◆ xoff_

double HiEvtPlaneFlatten::xoff_[MAXCUTOFF]
private

Definition at line 472 of file HiEvtPlaneFlatten.h.

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

◆ xoffDB_

double HiEvtPlaneFlatten::xoffDB_[MAXCUTOFF]
private

Definition at line 474 of file HiEvtPlaneFlatten.h.

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

◆ xyoffcnt_

double HiEvtPlaneFlatten::xyoffcnt_[MAXCUTOFF]
private

Definition at line 476 of file HiEvtPlaneFlatten.h.

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

◆ xyoffmult_

uint HiEvtPlaneFlatten::xyoffmult_[MAXCUTOFF]
private

Definition at line 477 of file HiEvtPlaneFlatten.h.

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

◆ yoff_

double HiEvtPlaneFlatten::yoff_[MAXCUTOFF]
private

Definition at line 473 of file HiEvtPlaneFlatten.h.

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

◆ yoffDB_

double HiEvtPlaneFlatten::yoffDB_[MAXCUTOFF]
private

Definition at line 475 of file HiEvtPlaneFlatten.h.

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

FastTimerService_cff.range
range
Definition: FastTimerService_cff.py:34
HiEvtPlaneFlatten::flatX_
double flatX_[MAXCUT]
Definition: HiEvtPlaneFlatten.h:466
HiEvtPlaneFlatten::ptDB_
double ptDB_[MAXCUTOFF]
Definition: HiEvtPlaneFlatten.h:481
HiEvtPlaneFlatten::centResErr5_
double centResErr5_[20]
Definition: HiEvtPlaneFlatten.h:492
mps_fire.i
i
Definition: mps_fire.py:428
HiEvtPlaneFlatten::pt_
double pt_[MAXCUTOFF]
Definition: HiEvtPlaneFlatten.h:479
HiEvtPlaneFlatten::centRes2_
double centRes2_[50]
Definition: HiEvtPlaneFlatten.h:488
TkAlMuonSelectors_cfi.cut
cut
Definition: TkAlMuonSelectors_cfi.py:5
DiDispStaMuonMonitor_cfi.pt
pt
Definition: DiDispStaMuonMonitor_cfi.py:39
HLT_FULL_cff.scale
scale
Definition: HLT_FULL_cff.py:6637
HiEvtPlaneFlatten::centRes1_
double centRes1_[100]
Definition: HiEvtPlaneFlatten.h:485
HiEvtPlaneFlatten::centRes20_
double centRes20_[5]
Definition: HiEvtPlaneFlatten.h:497
HiEvtPlaneFlatten::minCent
float minCent(int indx) const
Definition: HiEvtPlaneFlatten.h:213
HiEvtPlaneFlatten::cutIndx
int cutIndx(int centbin, double vtx, int iord) const
Definition: HiEvtPlaneFlatten.h:79
HiEvtPlaneFlatten::centRes40_
double centRes40_[2]
Definition: HiEvtPlaneFlatten.h:506
HiEvtPlaneFlatten::obins_
int obins_
Definition: HiEvtPlaneFlatten.h:515
HiEvtPlaneFlatten::MAXCUTOFF
static const int MAXCUTOFF
Definition: HiEvtPlaneFlatten.h:464
HiEvtPlaneFlatten::offsetIndx
int offsetIndx(int centbin, double vtx) const
Definition: HiEvtPlaneFlatten.h:93
HiEvtPlaneFlatten::MAXCUT
static const int MAXCUT
Definition: HiEvtPlaneFlatten.h:463
HiEvtPlaneFlatten::maxVtx
double maxVtx(int indx) const
Definition: HiEvtPlaneFlatten.h:228
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:483
HiEvtPlaneFlatten::centRes10_
double centRes10_[10]
Definition: HiEvtPlaneFlatten.h:494
HiEvtPlaneFlatten::nbins_
int nbins_
Definition: HiEvtPlaneFlatten.h:510
HiEvtPlaneFlatten::hbins_
int hbins_
Definition: HiEvtPlaneFlatten.h:514
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::delvtx_
double delvtx_
Definition: HiEvtPlaneFlatten.h:512
HiEvtPlaneFlatten::centResErr2_
double centResErr2_[50]
Definition: HiEvtPlaneFlatten.h:489
LaserClient_cfi.nbins
nbins
Definition: LaserClient_cfi.py:51
dqmdumpme.k
k
Definition: dqmdumpme.py:60
HiEvtPlaneFlatten::centResErr20_
double centResErr20_[5]
Definition: HiEvtPlaneFlatten.h:498
HiEvtPlaneFlatten::xoff_
double xoff_[MAXCUTOFF]
Definition: HiEvtPlaneFlatten.h:472
HiEvtPlaneFlatten::etScale
double etScale(double vtx, int centbin) const
Definition: HiEvtPlaneFlatten.h:144
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
HiEvtPlaneFlatten::xyoffcnt_
double xyoffcnt_[MAXCUTOFF]
Definition: HiEvtPlaneFlatten.h:476
HiEvtPlaneFlatten::getPtDB
double getPtDB(unsigned int bin) const
Definition: HiEvtPlaneFlatten.h:257
pfMETCorrectionType0_cfi.correction
correction
Definition: pfMETCorrectionType0_cfi.py:39
HiEvtPlaneFlatten::yoff_
double yoff_[MAXCUTOFF]
Definition: HiEvtPlaneFlatten.h:473
HiEvtPlaneFlatten::centResErr25_
double centResErr25_[4]
Definition: HiEvtPlaneFlatten.h:501
eventshapeDQM_cfi.order
order
Definition: eventshapeDQM_cfi.py:8
createfilelist.int
int
Definition: createfilelist.py:10
HiEvtPlaneFlatten::caloCentRefMaxBin_
int caloCentRefMaxBin_
Definition: HiEvtPlaneFlatten.h:518
M_PI
#define M_PI
Definition: BXVectorInputProducer.cc:49
HiEvtPlaneFlatten::hOrder_
int hOrder_
Definition: HiEvtPlaneFlatten.h:513
HiEvtPlaneFlatten::centRes30_
double centRes30_[3]
Definition: HiEvtPlaneFlatten.h:503
HiEvtPlaneFlatten::flatYDB_
double flatYDB_[MAXCUT]
Definition: HiEvtPlaneFlatten.h:469
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
HiEvtPlaneFlatten::centResErr40_
double centResErr40_[2]
Definition: HiEvtPlaneFlatten.h:507
submitPVResolutionJobs.err
err
Definition: submitPVResolutionJobs.py:85
res
Definition: Electron.h:6
HiEvtPlaneFlatten::centResErr10_
double centResErr10_[10]
Definition: HiEvtPlaneFlatten.h:495
HiEvtPlaneFlatten::centRes5_
double centRes5_[20]
Definition: HiEvtPlaneFlatten.h:491
visDQMUpload.buf
buf
Definition: visDQMUpload.py:154
HiEvtPlaneFlatten::flatXDB_
double flatXDB_[MAXCUT]
Definition: HiEvtPlaneFlatten.h:468
HiEvtPlaneFlatten::xyoffmult_
uint xyoffmult_[MAXCUTOFF]
Definition: HiEvtPlaneFlatten.h:477
newFWLiteAna.bin
bin
Definition: newFWLiteAna.py:161
HiEvtPlaneFlatten::flatY_
double flatY_[MAXCUT]
Definition: HiEvtPlaneFlatten.h:467
HiEvtPlaneFlatten::maxCent
float maxCent(int indx) const
Definition: HiEvtPlaneFlatten.h:218
HiEvtPlaneFlatten::bounds2
double bounds2(double ang) const
Definition: HiEvtPlaneFlatten.h:289
psi
std::map< std::string, int, std::less< std::string > > psi
Definition: CountProcessesAction.h:15
HiEvtPlaneFlatten::caloCentRefMinBin_
int caloCentRefMinBin_
Definition: HiEvtPlaneFlatten.h:517
heppy_batch.val
val
Definition: heppy_batch.py:351
HiEvtPlaneFlatten::xoffDB_
double xoffDB_[MAXCUTOFF]
Definition: HiEvtPlaneFlatten.h:474
extraflags_cff.vtx
vtx
Definition: extraflags_cff.py:18
HiEvtPlaneFlatten::minVtx
double minVtx(int indx) const
Definition: HiEvtPlaneFlatten.h:223
HiEvtPlaneFlatten::nvtxbins_
int nvtxbins_
Definition: HiEvtPlaneFlatten.h:509
HiEvtPlaneFlatten::bounds
double bounds(double ang) const
Definition: HiEvtPlaneFlatten.h:282
HiEvtPlaneFlatten::flatCnt_
double flatCnt_[MAXCUT]
Definition: HiEvtPlaneFlatten.h:470
HiEvtPlaneFlatten::vorder_
int vorder_
Definition: HiEvtPlaneFlatten.h:516
HiEvtPlaneFlatten::getPt2DB
double getPt2DB(unsigned int bin) const
Definition: HiEvtPlaneFlatten.h:264
HiEvtPlaneFlatten::pt2DB_
double pt2DB_[MAXCUTOFF]
Definition: HiEvtPlaneFlatten.h:482
funct::pow
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29
HiEvtPlaneFlatten::centResErr1_
double centResErr1_[100]
Definition: HiEvtPlaneFlatten.h:486
HiEvtPlaneFlatten::pt2_
double pt2_[MAXCUTOFF]
Definition: HiEvtPlaneFlatten.h:480
HiEvtPlaneFlatten::minvtx_
double minvtx_
Definition: HiEvtPlaneFlatten.h:511
HiEvtPlaneFlatten::yoffDB_
double yoffDB_[MAXCUTOFF]
Definition: HiEvtPlaneFlatten.h:475
HiEvtPlaneFlatten::centResErr30_
double centResErr30_[3]
Definition: HiEvtPlaneFlatten.h:504
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
HiEvtPlaneFlatten::centRes25_
double centRes25_[4]
Definition: HiEvtPlaneFlatten.h:500