CMS 3D CMS Logo

FFTJetPileupSummary.h
Go to the documentation of this file.
1 
9 #ifndef DataFormats_JetReco_FFTJetPileupSummary_h
10 #define DataFormats_JetReco_FFTJetPileupSummary_h
11 
12 namespace reco {
14  public:
16  : uncalibratedQuantile_(-100000.f), pileupRho_(-1000000.f), pileupRhoUncert_(-1.0), uncertaintyCode_(-1) {}
17 
18  inline FFTJetPileupSummary(const float uncalibrated,
19  const float pileup,
20  const float uncert = -1.f,
21  const int code = -1)
22  : uncalibratedQuantile_(uncalibrated), pileupRho_(pileup), pileupRhoUncert_(uncert), uncertaintyCode_(code) {}
23 
24  // The original point at which the pile-up estimate was found.
25  // This does not use any calibration curve or Neyman construction,
26  // and can serve as an input to an improved user-defined calibration.
27  inline float uncalibratedQuantile() const { return uncalibratedQuantile_; }
28 
29  // The estimate of pile-up transverse energy (or momentum) density
30  inline float pileupRho() const { return pileupRho_; }
31 
32  // Uncertainty of the pile-up density estimate
33  inline float pileupRhoUncertainty() const { return pileupRhoUncert_; }
34 
35  // The "zone" of the uncertainty in the Neyman belt construction.
36  // Suggested values are as follows:
37  //
38  // -1 -- uncertainty is unknown
39  //
40  // 0 -- estimated uncertainty does not come from the Neyman belt
41  //
42  // 1 -- the estimate does not intersect the belt at all (typically,
43  // the uncertainty in this case will be set to 0). This just
44  // means that your value of rho is unlikely, and there is no
45  // way to come up with a resonable frequentist uncertainty
46  // estimate using the adopted ordering principle.
47  //
48  // 2 -- the estimate intersects one error band only. The height
49  // of that band is used as the uncertainty.
50  //
51  // 3 -- the estimate intersects the center of the belt (the
52  // calibration curve) and one error band. The distance
53  // between the center and the band (one-sided uncertainty)
54  // is used as the uncertainty in this summary.
55  //
56  // 4 -- the estimate intersects the complete belt. Only in this
57  // case one gets a completely meanigful frequentist uncertainty
58  // which is typicaly calculated as the belt half-width along
59  // the line of intersect.
60  //
61  inline int uncertaintyCode() const { return uncertaintyCode_; }
62 
63  private:
65  float pileupRho_;
68  };
69 } // namespace reco
70 
71 #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)
fixed size matrix