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 55 of file EGEtScaleSysModifier.cc.

Constructor & Destructor Documentation

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

Definition at line 57 of file EGEtScaleSysModifier.cc.

References Exception.

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

Definition at line 66 of file EGEtScaleSysModifier.cc.

66 {}

Member Function Documentation

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

Member Data Documentation

float EGEtScaleSysModifier::UncertFuncV1::dEt_
private

Definition at line 80 of file EGEtScaleSysModifier.cc.

float EGEtScaleSysModifier::UncertFuncV1::dUncert_
private

Definition at line 81 of file EGEtScaleSysModifier.cc.

float EGEtScaleSysModifier::UncertFuncV1::highEt_
private

Definition at line 77 of file EGEtScaleSysModifier.cc.

float EGEtScaleSysModifier::UncertFuncV1::highEtUncert_
private

Definition at line 79 of file EGEtScaleSysModifier.cc.

float EGEtScaleSysModifier::UncertFuncV1::lowEt_
private

Definition at line 76 of file EGEtScaleSysModifier.cc.

float EGEtScaleSysModifier::UncertFuncV1::lowEtUncert_
private

Definition at line 78 of file EGEtScaleSysModifier.cc.