|
|
Go to the documentation of this file.
11 : outputTransformerLowEt_(iConfig.getParameter<double>(
"rangeMinLowEt"),
12 iConfig.getParameter<double>(
"rangeMaxLowEt")),
13 outputTransformerHighEt_(iConfig.getParameter<double>(
"rangeMinHighEt"),
14 iConfig.getParameter<double>(
"rangeMaxHighEt")),
15 forceHighEnergyTrainingIfSaturated_(iConfig.getParameter<
bool>(
"forceHighEnergyTrainingIfSaturated")),
16 lowEtHighEtBoundary_(iConfig.getParameter<double>(
"lowEtHighEtBoundary")),
17 ebLowEtForestName_(iConfig.getParameter<
std::
string>(
"ebLowEtForestName")),
18 ebHighEtForestName_(iConfig.getParameter<
std::
string>(
"ebHighEtForestName")),
19 eeLowEtForestName_(iConfig.getParameter<
std::
string>(
"eeLowEtForestName")),
20 eeHighEtForestName_(iConfig.getParameter<
std::
string>(
"eeHighEtForestName")),
21 ebLowEtForest_(nullptr),
22 ebHighEtForest_(nullptr),
23 eeLowEtForest_(nullptr),
24 eeHighEtForest_(nullptr) {}
28 desc.
add<
double>(
"rangeMinLowEt", -1.);
29 desc.
add<
double>(
"rangeMaxLowEt", 3.0);
30 desc.
add<
double>(
"rangeMinHighEt", -1.);
31 desc.
add<
double>(
"rangeMaxHighEt", 3.0);
32 desc.
add<
double>(
"lowEtHighEtBoundary", 50.);
33 desc.
add<
bool>(
"forceHighEnergyTrainingIfSaturated",
false);
34 desc.
add<
std::string>(
"ebLowEtForestName",
"electron_eb_ECALTRK_lowpt");
35 desc.
add<
std::string>(
"ebHighEtForestName",
"electron_eb_ECALTRK");
36 desc.
add<
std::string>(
"eeLowEtForestName",
"electron_ee_ECALTRK_lowpt");
37 desc.
add<
std::string>(
"eeHighEtForestName",
"electron_ee_ECALTRK");
59 const float*
data)
const {
bool forceHighEnergyTrainingIfSaturated_
const EgammaBDTOutputTransformer outputTransformerLowEt_
ParameterDescriptionBase * add(U const &iLabel, T const &value)
double GetResponse(const float *vector) const
const float lowEtHighEtBoundary_
void setEventContent(const edm::EventSetup &iSetup)
const GBRForestD * ebLowEtForest_
static edm::ParameterSetDescription makePSetDescription()
bool isSaturated(const Digi &digi, const int &maxADCvalue, int ifirst, int n)
const std::string ebHighEtForestName_
float operator()(const float et, const bool isEB, const bool isSaturated, const float *data) const
const std::string eeHighEtForestName_
const GBRForestD * eeHighEtForest_
const GBRForestD * eeLowEtForest_
EgammaRegressionContainer(const edm::ParameterSet &iConfig)
char data[epos_bytes_allocation]
const std::string eeLowEtForestName_
const EgammaBDTOutputTransformer outputTransformerHighEt_
const std::string ebLowEtForestName_
bool useLowEtBin(const float et, const bool isSaturated) const
const GBRForestD * ebHighEtForest_