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 
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
EgammaRegressionContainer::forceHighEnergyTrainingIfSaturated_
bool forceHighEnergyTrainingIfSaturated_
Definition: EgammaRegressionContainer.h:41
EgammaRegressionContainer::~EgammaRegressionContainer
~EgammaRegressionContainer()
Definition: EgammaRegressionContainer.h:27
EgammaRegressionContainer::outputTransformerLowEt_
const EgammaBDTOutputTransformer outputTransformerLowEt_
Definition: EgammaRegressionContainer.h:38
EgammaBDTOutputTransformer.h
edm
HLT enums.
Definition: AlignableModifier.h:19
EgammaRegressionContainer::lowEtHighEtBoundary_
const float lowEtHighEtBoundary_
Definition: EgammaRegressionContainer.h:42
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
EgammaRegressionContainer::setEventContent
void setEventContent(const edm::EventSetup &iSetup)
Definition: EgammaRegressionContainer.cc:49
EgammaRegressionContainer::ebLowEtForest_
const GBRForestD * ebLowEtForest_
Definition: EgammaRegressionContainer.h:48
EgammaRegressionContainer::makePSetDescription
static edm::ParameterSetDescription makePSetDescription()
Definition: EgammaRegressionContainer.cc:26
CastorSimpleRecAlgoImpl::isSaturated
bool isSaturated(const Digi &digi, const int &maxADCvalue, int ifirst, int n)
Definition: CastorSimpleRecAlgo.cc:97
EgammaRegressionContainer::ebHighEtForestName_
const std::string ebHighEtForestName_
Definition: EgammaRegressionContainer.h:44
GBRForestD
Definition: GBRForestD.h:27
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
EgammaRegressionContainer::operator()
float operator()(const float et, const bool isEB, const bool isSaturated, const float *data) const
Definition: EgammaRegressionContainer.cc:56
edm::ParameterSet
Definition: ParameterSet.h:36
EgammaRegressionContainer::eeHighEtForestName_
const std::string eeHighEtForestName_
Definition: EgammaRegressionContainer.h:46
ParameterSet
Definition: Functions.h:16
EgammaRegressionContainer::eeHighEtForest_
const GBRForestD * eeHighEtForest_
Definition: EgammaRegressionContainer.h:51
EgHLTOffHistBins_cfi.et
et
Definition: EgHLTOffHistBins_cfi.py:8
edm::EventSetup
Definition: EventSetup.h:57
EgammaBDTOutputTransformer
Definition: EgammaBDTOutputTransformer.h:11
EgammaRegressionContainer::eeLowEtForest_
const GBRForestD * eeLowEtForest_
Definition: EgammaRegressionContainer.h:50
EgammaRegressionContainer::EgammaRegressionContainer
EgammaRegressionContainer(const edm::ParameterSet &iConfig)
Definition: EgammaRegressionContainer.cc:10
ParameterSetDescription
EgammaRegressionContainer
Definition: EgammaRegressionContainer.h:24
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
EgammaRegressionContainer::eeLowEtForestName_
const std::string eeLowEtForestName_
Definition: EgammaRegressionContainer.h:45
EgammaRegressionContainer::outputTransformerHighEt_
const EgammaBDTOutputTransformer outputTransformerHighEt_
Definition: EgammaRegressionContainer.h:39
EventSetup
EgammaRegressionContainer::ebLowEtForestName_
const std::string ebLowEtForestName_
Definition: EgammaRegressionContainer.h:43
EgammaRegressionContainer::useLowEtBin
bool useLowEtBin(const float et, const bool isSaturated) const
Definition: EgammaRegressionContainer.cc:73
EgammaRegressionContainer::ebHighEtForest_
const GBRForestD * ebHighEtForest_
Definition: EgammaRegressionContainer.h:49