CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
EGEtScaleSysModifier::UncertFuncV1 Class Reference
Inheritance diagram for EGEtScaleSysModifier::UncertFuncV1:
EGEtScaleSysModifier::UncertFuncBase

Public Member Functions

 UncertFuncV1 (const edm::ParameterSet &conf)
 
float val (const float et) const override
 
 ~UncertFuncV1 () override
 
- Public Member Functions inherited from EGEtScaleSysModifier::UncertFuncBase
 UncertFuncBase ()
 
virtual ~UncertFuncBase ()
 

Private Attributes

float dEt_
 
float dUncert_
 
float highEt_
 
float highEtUncert_
 
float lowEt_
 
float lowEtUncert_
 

Detailed Description

Definition at line 54 of file EGEtScaleSysModifier.cc.

Constructor & Destructor Documentation

EGEtScaleSysModifier::UncertFuncV1::UncertFuncV1 ( const edm::ParameterSet conf)
inline

Definition at line 56 of file EGEtScaleSysModifier.cc.

References Exception.

56  :
57  lowEt_(conf.getParameter<double>("lowEt")),highEt_(conf.getParameter<double>("highEt")),
58  lowEtUncert_(conf.getParameter<double>("lowEtUncert")),
59  highEtUncert_(conf.getParameter<double>("highEtUncert")),
62  {
63  if(highEt_<=lowEt_) throw cms::Exception("ConfigError") <<" highEt "<<highEt_<<" is not higher than lowEt "<<lowEt_;
64  }
T getParameter(std::string const &) const
EGEtScaleSysModifier::UncertFuncV1::~UncertFuncV1 ( )
inlineoverride

Definition at line 65 of file EGEtScaleSysModifier.cc.

65 {}

Member Function Documentation

float EGEtScaleSysModifier::UncertFuncV1::val ( const float  et) const
inlineoverridevirtual

Member Data Documentation

float EGEtScaleSysModifier::UncertFuncV1::dEt_
private

Definition at line 79 of file EGEtScaleSysModifier.cc.

float EGEtScaleSysModifier::UncertFuncV1::dUncert_
private

Definition at line 80 of file EGEtScaleSysModifier.cc.

float EGEtScaleSysModifier::UncertFuncV1::highEt_
private

Definition at line 76 of file EGEtScaleSysModifier.cc.

float EGEtScaleSysModifier::UncertFuncV1::highEtUncert_
private

Definition at line 78 of file EGEtScaleSysModifier.cc.

float EGEtScaleSysModifier::UncertFuncV1::lowEt_
private

Definition at line 75 of file EGEtScaleSysModifier.cc.

float EGEtScaleSysModifier::UncertFuncV1::lowEtUncert_
private

Definition at line 77 of file EGEtScaleSysModifier.cc.