CMS 3D CMS Logo

EgammaRegressionContainer.h
Go to the documentation of this file.
1 #ifndef RecoEgamma_EgammaTools_EgammaRegressionContainer_h
2 #define RecoEgamma_EgammaTools_EgammaRegressionContainer_h
3 
4 //author: Sam Harper (RAL)
5 //description:
6 // egamma energy regressions are binned in barrel/endcap and pt
7 // this simply contains the regression for each of (currently) 4 bins
8 // as well as the parameters to convert the raw BDT output back to
9 // the physical real value
10 // currently e/gamma also can optionally force saturated electrons
11 // to always be in the high et training
12 
14 
15 #include <string>
16 
17 namespace edm {
18  class ParameterSet;
20  class EventSetup;
21 } // namespace edm
22 class GBRForestD;
23 
25 public:
28 
29  static edm::ParameterSetDescription makePSetDescription();
30 
31  void setEventContent(const edm::EventSetup& iSetup);
32 
33  float operator()(const float et, const bool isEB, const bool isSaturated, const float* data) const;
34 
35  bool useLowEtBin(const float et, const bool isSaturated) const;
36 
37 private:
40 
42  const float lowEtHighEtBoundary_;
47 
48  const GBRForestD* ebLowEtForest_; //not owned
49  const GBRForestD* ebHighEtForest_; //not owned
50  const GBRForestD* eeLowEtForest_; //not owned
51  const GBRForestD* eeHighEtForest_; //not owned
52 };
53 
54 #endif
const EgammaBDTOutputTransformer outputTransformerHighEt_
const EgammaBDTOutputTransformer outputTransformerLowEt_
bool isSaturated(const Digi &digi, const int &maxADCvalue, int ifirst, int n)
HLT enums.
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79