CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Attributes
EgammaRegressionContainer Class Reference

#include <EgammaRegressionContainer.h>

Public Member Functions

 EgammaRegressionContainer (const edm::ParameterSet &iConfig)
 
float operator() (const float et, const bool isEB, const bool isSaturated, const float *data) const
 
void setEventContent (const edm::EventSetup &iSetup)
 
bool useLowEtBin (const float et, const bool isSaturated) const
 
 ~EgammaRegressionContainer ()
 

Static Public Member Functions

static edm::ParameterSetDescription makePSetDescription ()
 

Private Attributes

const GBRForestDebHighEtForest_
 
const std::string ebHighEtForestName_
 
const GBRForestDebLowEtForest_
 
const std::string ebLowEtForestName_
 
const GBRForestDeeHighEtForest_
 
const std::string eeHighEtForestName_
 
const GBRForestDeeLowEtForest_
 
const std::string eeLowEtForestName_
 
bool forceHighEnergyTrainingIfSaturated_
 
const float lowEtHighEtBoundary_
 
const EgammaBDTOutputTransformer outputTransformerHighEt_
 
const EgammaBDTOutputTransformer outputTransformerLowEt_
 

Detailed Description

Definition at line 24 of file EgammaRegressionContainer.h.

Constructor & Destructor Documentation

◆ EgammaRegressionContainer()

EgammaRegressionContainer::EgammaRegressionContainer ( const edm::ParameterSet iConfig)

Definition at line 10 of file EgammaRegressionContainer.cc.

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) {}

◆ ~EgammaRegressionContainer()

EgammaRegressionContainer::~EgammaRegressionContainer ( )
inline

Definition at line 27 of file EgammaRegressionContainer.h.

27 {}

Member Function Documentation

◆ makePSetDescription()

edm::ParameterSetDescription EgammaRegressionContainer::makePSetDescription ( )
static

Definition at line 26 of file EgammaRegressionContainer.cc.

26  {
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");
38  return desc;
39 }

References edm::ParameterSetDescription::add(), and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by EpCombinationTool::makePSetDescription().

◆ operator()()

float EgammaRegressionContainer::operator() ( const float  et,
const bool  isEB,
const bool  isSaturated,
const float *  data 
) const

◆ setEventContent()

void EgammaRegressionContainer::setEventContent ( const edm::EventSetup iSetup)

◆ useLowEtBin()

bool EgammaRegressionContainer::useLowEtBin ( const float  et,
const bool  isSaturated 
) const

Member Data Documentation

◆ ebHighEtForest_

const GBRForestD* EgammaRegressionContainer::ebHighEtForest_
private

Definition at line 49 of file EgammaRegressionContainer.h.

Referenced by operator()(), and setEventContent().

◆ ebHighEtForestName_

const std::string EgammaRegressionContainer::ebHighEtForestName_
private

Definition at line 44 of file EgammaRegressionContainer.h.

Referenced by setEventContent().

◆ ebLowEtForest_

const GBRForestD* EgammaRegressionContainer::ebLowEtForest_
private

Definition at line 48 of file EgammaRegressionContainer.h.

Referenced by operator()(), and setEventContent().

◆ ebLowEtForestName_

const std::string EgammaRegressionContainer::ebLowEtForestName_
private

Definition at line 43 of file EgammaRegressionContainer.h.

Referenced by setEventContent().

◆ eeHighEtForest_

const GBRForestD* EgammaRegressionContainer::eeHighEtForest_
private

Definition at line 51 of file EgammaRegressionContainer.h.

Referenced by operator()(), and setEventContent().

◆ eeHighEtForestName_

const std::string EgammaRegressionContainer::eeHighEtForestName_
private

Definition at line 46 of file EgammaRegressionContainer.h.

Referenced by setEventContent().

◆ eeLowEtForest_

const GBRForestD* EgammaRegressionContainer::eeLowEtForest_
private

Definition at line 50 of file EgammaRegressionContainer.h.

Referenced by operator()(), and setEventContent().

◆ eeLowEtForestName_

const std::string EgammaRegressionContainer::eeLowEtForestName_
private

Definition at line 45 of file EgammaRegressionContainer.h.

Referenced by setEventContent().

◆ forceHighEnergyTrainingIfSaturated_

bool EgammaRegressionContainer::forceHighEnergyTrainingIfSaturated_
private

Definition at line 41 of file EgammaRegressionContainer.h.

Referenced by useLowEtBin().

◆ lowEtHighEtBoundary_

const float EgammaRegressionContainer::lowEtHighEtBoundary_
private

Definition at line 42 of file EgammaRegressionContainer.h.

Referenced by useLowEtBin().

◆ outputTransformerHighEt_

const EgammaBDTOutputTransformer EgammaRegressionContainer::outputTransformerHighEt_
private

Definition at line 39 of file EgammaRegressionContainer.h.

Referenced by operator()().

◆ outputTransformerLowEt_

const EgammaBDTOutputTransformer EgammaRegressionContainer::outputTransformerLowEt_
private

Definition at line 38 of file EgammaRegressionContainer.h.

Referenced by operator()().

EgammaRegressionContainer::forceHighEnergyTrainingIfSaturated_
bool forceHighEnergyTrainingIfSaturated_
Definition: EgammaRegressionContainer.h:41
EgammaRegressionContainer::outputTransformerLowEt_
const EgammaBDTOutputTransformer outputTransformerLowEt_
Definition: EgammaRegressionContainer.h:38
edm::ParameterSetDescription::add
ParameterDescriptionBase * add(U const &iLabel, T const &value)
Definition: ParameterSetDescription.h:95
GBRForestD::GetResponse
double GetResponse(const float *vector) const
Definition: GBRForestD.h:52
EgammaRegressionContainer::lowEtHighEtBoundary_
const float lowEtHighEtBoundary_
Definition: EgammaRegressionContainer.h:42
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
EgammaRegressionContainer::ebLowEtForest_
const GBRForestD * ebLowEtForest_
Definition: EgammaRegressionContainer.h:48
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
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
EgammaRegressionContainer::eeHighEtForestName_
const std::string eeHighEtForestName_
Definition: EgammaRegressionContainer.h:46
EgammaRegressionContainer::eeHighEtForest_
const GBRForestD * eeHighEtForest_
Definition: EgammaRegressionContainer.h:51
EgHLTOffHistBins_cfi.et
et
Definition: EgHLTOffHistBins_cfi.py:8
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
EgammaRegressionContainer::eeLowEtForest_
const GBRForestD * eeLowEtForest_
Definition: EgammaRegressionContainer.h:50
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
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