CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FFTJetPileupSummary.h
Go to the documentation of this file.
1 
10 #ifndef DataFormats_JetReco_FFTJetPileupSummary_h
11 #define DataFormats_JetReco_FFTJetPileupSummary_h
12 
13 namespace reco {
15  {
16  public:
18  : uncalibratedQuantile_(-100000.f), pileupRho_(-1000000.f),
20 
21  inline FFTJetPileupSummary(const float uncalibrated,
22  const float pileup,
23  const float uncert = -1.f,
24  const int code = -1)
25  : uncalibratedQuantile_(uncalibrated), pileupRho_(pileup),
26  pileupRhoUncert_(uncert), uncertaintyCode_(code) {}
27 
28  // The original point at which the pile-up estimate was found.
29  // This does not use any calibration curve or Neyman construction,
30  // and can serve as an input to an improved user-defined calibration.
31  inline float uncalibratedQuantile() const
32  {return uncalibratedQuantile_;}
33 
34  // The estimate of pile-up transverse energy (or momentum) density
35  inline float pileupRho() const {return pileupRho_;}
36 
37  // Uncertainty of the pile-up density estimate
38  inline float pileupRhoUncertainty() const {return pileupRhoUncert_;}
39 
40  // The "zone" of the uncertainty in the Neyman belt construction.
41  // Suggested values are as follows:
42  //
43  // -1 -- uncertainty is unknown
44  //
45  // 0 -- estimated uncertainty does not come from the Neyman belt
46  //
47  // 1 -- the estimate does not intersect the belt at all (typically,
48  // the uncertainty in this case will be set to 0). This just
49  // means that your value of rho is unlikely, and there is no
50  // way to come up with a resonable frequentist uncertainty
51  // estimate using the adopted ordering principle.
52  //
53  // 2 -- the estimate intersects one error band only. The height
54  // of that band is used as the uncertainty.
55  //
56  // 3 -- the estimate intersects the center of the belt (the
57  // calibration curve) and one error band. The distance
58  // between the center and the band (one-sided uncertainty)
59  // is used as the uncertainty in this summary.
60  //
61  // 4 -- the estimate intersects the complete belt. Only in this
62  // case one gets a completely meanigful frequentist uncertainty
63  // which is typicaly calculated as the belt half-width along
64  // the line of intersect.
65  //
66  inline int uncertaintyCode() const {return uncertaintyCode_;}
67 
68  private:
70  float pileupRho_;
73  };
74 }
75 
76 #endif // DataFormats_JetReco_FFTJetPileupSummary_h
Summary info for pile-up determined by Gaussian filtering.
double f[11][100]
FFTJetPileupSummary(const float uncalibrated, const float pileup, const float uncert=-1.f, const int code=-1)