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