10 : outputTransformerLowEt_(iConfig.getParameter<double>(
"rangeMinLowEt"),
11 iConfig.getParameter<double>(
"rangeMaxLowEt")),
12 outputTransformerHighEt_(iConfig.getParameter<double>(
"rangeMinHighEt"),
13 iConfig.getParameter<double>(
"rangeMaxHighEt")),
14 forceHighEnergyTrainingIfSaturated_(iConfig.getParameter<bool>(
"forceHighEnergyTrainingIfSaturated")),
15 lowEtHighEtBoundary_(iConfig.getParameter<double>(
"lowEtHighEtBoundary")),
23 desc.
add<
double>(
"rangeMinLowEt", -1.);
24 desc.
add<
double>(
"rangeMaxLowEt", 3.0);
25 desc.
add<
double>(
"rangeMinHighEt", -1.);
26 desc.
add<
double>(
"rangeMaxHighEt", 3.0);
27 desc.
add<
double>(
"lowEtHighEtBoundary", 50.);
28 desc.
add<
bool>(
"forceHighEnergyTrainingIfSaturated",
false);
46 const float*
data)
const {
const edm::ESGetToken< GBRForestD, GBRDWrapperRcd > eeLowEtForestToken_
const edm::ESGetToken< GBRForestD, GBRDWrapperRcd > ebHighEtForestToken_
void setEventContent(const edm::EventSetup &iSetup)
double GetResponse(const float *vector) const
float operator()(const float et, const bool isEB, const bool isSaturated, const float *data) const
const float lowEtHighEtBoundary_
const GBRForestD * eeHighEtForest_
const GBRForestD * eeLowEtForest_
const edm::ESGetToken< GBRForestD, GBRDWrapperRcd > eeHighEtForestToken_
const EgammaBDTOutputTransformer outputTransformerHighEt_
bool getData(T &iHolder) const
const GBRForestD * ebHighEtForest_
const EgammaBDTOutputTransformer outputTransformerLowEt_
static edm::ParameterSetDescription makePSetDescription()
bool useLowEtBin(const float et, const bool isSaturated) const
ParameterDescriptionBase * add(U const &iLabel, T const &value)
T getParameter(std::string const &) const
const edm::ESGetToken< GBRForestD, GBRDWrapperRcd > ebLowEtForestToken_
bool isSaturated(const Digi &digi, const int &maxADCvalue, int ifirst, int n)
char data[epos_bytes_allocation]
EgammaRegressionContainer(const edm::ParameterSet &iConfig, edm::ConsumesCollector &cc)
bool forceHighEnergyTrainingIfSaturated_
const GBRForestD * ebLowEtForest_