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
reco::FFTJetPileupSummary::uncalibratedQuantile
float uncalibratedQuantile() const
Definition: FFTJetPileupSummary.h:27
f
double f[11][100]
Definition: MuScleFitUtils.cc:78
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:46
reco::FFTJetPileupSummary::FFTJetPileupSummary
FFTJetPileupSummary()
Definition: FFTJetPileupSummary.h:15
mixOne_premix_on_sim_cfi.pileup
pileup
Definition: mixOne_premix_on_sim_cfi.py:42
reco::FFTJetPileupSummary
Summary info for pile-up determined by Gaussian filtering.
Definition: FFTJetPileupSummary.h:13
reco::FFTJetPileupSummary::uncertaintyCode_
int uncertaintyCode_
Definition: FFTJetPileupSummary.h:67
reco::FFTJetPileupSummary::uncalibratedQuantile_
float uncalibratedQuantile_
Definition: FFTJetPileupSummary.h:64
reco::FFTJetPileupSummary::pileupRhoUncertainty
float pileupRhoUncertainty() const
Definition: FFTJetPileupSummary.h:33
reco::FFTJetPileupSummary::pileupRho_
float pileupRho_
Definition: FFTJetPileupSummary.h:65
reco::FFTJetPileupSummary::uncertaintyCode
int uncertaintyCode() const
Definition: FFTJetPileupSummary.h:61
reco::FFTJetPileupSummary::pileupRhoUncert_
float pileupRhoUncert_
Definition: FFTJetPileupSummary.h:66
reco::FFTJetPileupSummary::FFTJetPileupSummary
FFTJetPileupSummary(const float uncalibrated, const float pileup, const float uncert=-1.f, const int code=-1)
Definition: FFTJetPileupSummary.h:18
reco::FFTJetPileupSummary::pileupRho
float pileupRho() const
Definition: FFTJetPileupSummary.h:30