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

Constructor & Destructor Documentation

◆ UncertFuncV1()

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

Definition at line 54 of file EGEtScaleSysModifier.cc.

References Exception, highEt_, and lowEt_.

55  : lowEt_(conf.getParameter<double>("lowEt")),
56  highEt_(conf.getParameter<double>("highEt")),
57  lowEtUncert_(conf.getParameter<double>("lowEtUncert")),
58  highEtUncert_(conf.getParameter<double>("highEtUncert")),
59  dEt_(highEt_ - lowEt_),
61  if (highEt_ <= lowEt_)
62  throw cms::Exception("ConfigError") << " highEt " << highEt_ << " is not higher than lowEt " << lowEt_;
63  }
T getParameter(std::string const &) const
Definition: ParameterSet.h:307

◆ ~UncertFuncV1()

EGEtScaleSysModifier::UncertFuncV1::~UncertFuncV1 ( )
inlineoverride

Definition at line 64 of file EGEtScaleSysModifier.cc.

64 {}

Member Function Documentation

◆ val()

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

Member Data Documentation

◆ dEt_

float EGEtScaleSysModifier::UncertFuncV1::dEt_
private

Definition at line 81 of file EGEtScaleSysModifier.cc.

Referenced by val().

◆ dUncert_

float EGEtScaleSysModifier::UncertFuncV1::dUncert_
private

Definition at line 82 of file EGEtScaleSysModifier.cc.

Referenced by val().

◆ highEt_

float EGEtScaleSysModifier::UncertFuncV1::highEt_
private

Definition at line 78 of file EGEtScaleSysModifier.cc.

Referenced by UncertFuncV1(), and val().

◆ highEtUncert_

float EGEtScaleSysModifier::UncertFuncV1::highEtUncert_
private

Definition at line 80 of file EGEtScaleSysModifier.cc.

Referenced by val().

◆ lowEt_

float EGEtScaleSysModifier::UncertFuncV1::lowEt_
private

Definition at line 77 of file EGEtScaleSysModifier.cc.

Referenced by UncertFuncV1(), and val().

◆ lowEtUncert_

float EGEtScaleSysModifier::UncertFuncV1::lowEtUncert_
private

Definition at line 79 of file EGEtScaleSysModifier.cc.

Referenced by val().