11 outputTransformer_(iConfig.getParameter<double>(
"rangeMin"),iConfig.getParameter<double>(
"rangeMax")),
12 forceHighEnergyTrainingIfSaturated_(iConfig.getParameter<
bool>(
"forceHighEnergyTrainingIfSaturated")),
13 lowEtHighEtBoundary_(iConfig.getParameter<double>(
"lowEtHighEtBoundary")),
14 ebLowEtForestName_(iConfig.getParameter<
std::
string>(
"ebLowEtForestName")),
15 ebHighEtForestName_(iConfig.getParameter<
std::
string>(
"ebHighEtForestName")),
16 eeLowEtForestName_(iConfig.getParameter<
std::
string>(
"eeLowEtForestName")),
17 eeHighEtForestName_(iConfig.getParameter<
std::
string>(
"eeHighEtForestName")),
27 desc.
add<
double>(
"rangeMin",-1.);
28 desc.
add<
double>(
"rangeMax",3.0);
29 desc.
add<
double>(
"lowEtHighEtBoundary",50.);
30 desc.
add<
bool>(
"forceHighEnergyTrainingIfSaturated",
false);
31 desc.
add<
std::string>(
"ebLowEtForestName",
"electron_eb_ECALTRK_lowpt");
33 desc.
add<
std::string>(
"eeLowEtForestName",
"electron_ee_ECALTRK_lowpt");
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 std::string eeLowEtForestName_
const GBRForestD * ebHighEtForest_
static edm::ParameterSetDescription makePSetDescription()
bool useLowEtBin(const float et, const bool isSaturated) const
ParameterDescriptionBase * add(U const &iLabel, T const &value)
const std::string eeHighEtForestName_
const std::string ebHighEtForestName_
et
define resolution functions of each parameter
bool isSaturated(const Digi &digi, const int &maxADCvalue, int ifirst, int n)
char data[epos_bytes_allocation]
bool forceHighEnergyTrainingIfSaturated_
const EgammaBDTOutputTransformer outputTransformer_
const std::string ebLowEtForestName_
EgammaRegressionContainer(const edm::ParameterSet &iConfig)
const GBRForestD * ebLowEtForest_
T const * product() const