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 }
22 class GBRForestD;
23 
25 public:
26 
29 
30  static edm::ParameterSetDescription makePSetDescription();
31 
32  void setEventContent(const edm::EventSetup& iSetup);
33 
34  float operator()(const float et,const bool isEB,const bool isSaturated,const float* data)const;
35 
36 private:
37  bool useLowEtBin(const float et,const bool isSaturated)const;
38 
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 
55 
56 #endif
et
define resolution functions of each parameter
bool isSaturated(const Digi &digi, const int &maxADCvalue, int ifirst, int n)
HLT enums.
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
const EgammaBDTOutputTransformer outputTransformer_