CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends
ESEEIntercalibConstants Class Reference

#include <ESEEIntercalibConstants.h>

Public Member Functions

 ESEEIntercalibConstants ()
 
 ESEEIntercalibConstants (const float &gammaLow0, const float &alphaLow0, const float &gammaHigh0, const float &alphaHigh0, const float &gammaLow1, const float &alphaLow1, const float &gammaHigh1, const float &alphaHigh1, const float &gammaLow2, const float &alphaLow2, const float &gammaHigh2, const float &alphaHigh2, const float &gammaLow3, const float &alphaLow3, const float &gammaHigh3, const float &alphaHigh3)
 
float getAlphaHigh0 () const
 
float getAlphaHigh1 () const
 
float getAlphaHigh2 () const
 
float getAlphaHigh3 () const
 
float getAlphaLow0 () const
 
float getAlphaLow1 () const
 
float getAlphaLow2 () const
 
float getAlphaLow3 () const
 
float getGammaHigh0 () const
 
float getGammaHigh1 () const
 
float getGammaHigh2 () const
 
float getGammaHigh3 () const
 
float getGammaLow0 () const
 
float getGammaLow1 () const
 
float getGammaLow2 () const
 
float getGammaLow3 () const
 
void print (std::ostream &s) const
 
void setAlphaHigh0 (const float &value)
 
void setAlphaHigh1 (const float &value)
 
void setAlphaHigh2 (const float &value)
 
void setAlphaHigh3 (const float &value)
 
void setAlphaLow0 (const float &value)
 
void setAlphaLow1 (const float &value)
 
void setAlphaLow2 (const float &value)
 
void setAlphaLow3 (const float &value)
 
void setGammaHigh0 (const float &value)
 
void setGammaHigh1 (const float &value)
 
void setGammaHigh2 (const float &value)
 
void setGammaHigh3 (const float &value)
 
void setGammaLow0 (const float &value)
 
void setGammaLow1 (const float &value)
 
void setGammaLow2 (const float &value)
 
void setGammaLow3 (const float &value)
 
 ~ESEEIntercalibConstants ()
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

float alphaHigh0_
 
float alphaHigh1_
 
float alphaHigh2_
 
float alphaHigh3_
 
float alphaLow0_
 
float alphaLow1_
 
float alphaLow2_
 
float alphaLow3_
 
float gammaHigh0_
 
float gammaHigh1_
 
float gammaHigh2_
 
float gammaHigh3_
 
float gammaLow0_
 
float gammaLow1_
 
float gammaLow2_
 
float gammaLow3_
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 

Detailed Description

Definition at line 7 of file ESEEIntercalibConstants.h.

Constructor & Destructor Documentation

ESEEIntercalibConstants::ESEEIntercalibConstants ( )

Definition at line 3 of file ESEEIntercalibConstants.cc.

References alphaHigh0_, alphaHigh1_, alphaHigh2_, alphaHigh3_, alphaLow0_, alphaLow1_, alphaLow2_, alphaLow3_, gammaHigh0_, gammaHigh1_, gammaHigh2_, gammaHigh3_, gammaLow0_, gammaLow1_, gammaLow2_, and gammaLow3_.

4 {
5  gammaLow0_ = 0.;
6  gammaHigh0_ = 0.;
7  alphaLow0_ = 0.;
8  alphaHigh0_ = 0.;
9 
10  gammaLow1_ = 0.;
11  gammaHigh1_ = 0.;
12  alphaLow1_ = 0.;
13  alphaHigh1_ = 0.;
14 
15  gammaLow2_ = 0.;
16  gammaHigh2_ = 0.;
17  alphaLow2_ = 0.;
18  alphaHigh2_ = 0.;
19 
20  gammaLow3_ = 0.;
21  gammaHigh3_ = 0.;
22  alphaLow3_ = 0.;
23  alphaHigh3_ = 0.;
24 }
ESEEIntercalibConstants::ESEEIntercalibConstants ( const float &  gammaLow0,
const float &  alphaLow0,
const float &  gammaHigh0,
const float &  alphaHigh0,
const float &  gammaLow1,
const float &  alphaLow1,
const float &  gammaHigh1,
const float &  alphaHigh1,
const float &  gammaLow2,
const float &  alphaLow2,
const float &  gammaHigh2,
const float &  alphaHigh2,
const float &  gammaLow3,
const float &  alphaLow3,
const float &  gammaHigh3,
const float &  alphaHigh3 
)

Definition at line 26 of file ESEEIntercalibConstants.cc.

References alphaHigh0_, alphaHigh1_, alphaHigh2_, alphaHigh3_, alphaLow0_, alphaLow1_, alphaLow2_, alphaLow3_, gammaHigh0_, gammaHigh1_, gammaHigh2_, gammaHigh3_, gammaLow0_, gammaLow1_, gammaLow2_, and gammaLow3_.

32 {
33  gammaLow0_ = gammaLow0;
34  gammaHigh0_ = gammaHigh0;
35  alphaLow0_ = alphaLow0;
36  alphaHigh0_ = alphaHigh0;
37 
38  gammaLow1_ = gammaLow1;
39  gammaHigh1_ = gammaHigh1;
40  alphaLow1_ = alphaLow1;
41  alphaHigh1_ = alphaHigh1;
42 
43  gammaLow2_ = gammaLow2;
44  gammaHigh2_ = gammaHigh2;
45  alphaLow2_ = alphaLow2;
46  alphaHigh2_ = alphaHigh2;
47 
48  gammaLow3_ = gammaLow3;
49  gammaHigh3_ = gammaHigh3;
50  alphaLow3_ = alphaLow3;
51  alphaHigh3_ = alphaHigh3;
52 }
ESEEIntercalibConstants::~ESEEIntercalibConstants ( )

Definition at line 54 of file ESEEIntercalibConstants.cc.

54  {
55 
56 }

Member Function Documentation

float ESEEIntercalibConstants::getAlphaHigh0 ( ) const
inline
float ESEEIntercalibConstants::getAlphaHigh1 ( ) const
inline
float ESEEIntercalibConstants::getAlphaHigh2 ( ) const
inline
float ESEEIntercalibConstants::getAlphaHigh3 ( ) const
inline
float ESEEIntercalibConstants::getAlphaLow0 ( ) const
inline
float ESEEIntercalibConstants::getAlphaLow1 ( ) const
inline
float ESEEIntercalibConstants::getAlphaLow2 ( ) const
inline
float ESEEIntercalibConstants::getAlphaLow3 ( ) const
inline
float ESEEIntercalibConstants::getGammaHigh0 ( ) const
inline
float ESEEIntercalibConstants::getGammaHigh1 ( ) const
inline
float ESEEIntercalibConstants::getGammaHigh2 ( ) const
inline
float ESEEIntercalibConstants::getGammaHigh3 ( ) const
inline
float ESEEIntercalibConstants::getGammaLow0 ( ) const
inline

Definition at line 20 of file ESEEIntercalibConstants.h.

References gammaLow0_.

Referenced by PFEnergyCalibration::EcorrPS().

float ESEEIntercalibConstants::getGammaLow1 ( ) const
inline
float ESEEIntercalibConstants::getGammaLow2 ( ) const
inline
float ESEEIntercalibConstants::getGammaLow3 ( ) const
inline

Definition at line 35 of file ESEEIntercalibConstants.h.

References gammaLow3_.

Referenced by PFEnergyCalibration::EcorrPS().

void ESEEIntercalibConstants::print ( std::ostream &  s) const
inline

Definition at line 59 of file ESEEIntercalibConstants.h.

References alphaHigh0_, alphaLow0_, gammaHigh0_, and gammaLow0_.

59  {
60  s << "ESEEIntercalibConstants: ES low gain (gamma, alpha) / high gain (gamma, alpha)" << gammaLow0_ << " " << alphaLow0_<< " / " << gammaHigh0_ <<" "<<alphaHigh0_;
61  }
template<class Archive >
void ESEEIntercalibConstants::serialize ( Archive &  ar,
const unsigned int  version 
)
private
void ESEEIntercalibConstants::setAlphaHigh0 ( const float &  value)
inline
void ESEEIntercalibConstants::setAlphaHigh1 ( const float &  value)
inline
void ESEEIntercalibConstants::setAlphaHigh2 ( const float &  value)
inline
void ESEEIntercalibConstants::setAlphaHigh3 ( const float &  value)
inline
void ESEEIntercalibConstants::setAlphaLow0 ( const float &  value)
inline
void ESEEIntercalibConstants::setAlphaLow1 ( const float &  value)
inline
void ESEEIntercalibConstants::setAlphaLow2 ( const float &  value)
inline
void ESEEIntercalibConstants::setAlphaLow3 ( const float &  value)
inline
void ESEEIntercalibConstants::setGammaHigh0 ( const float &  value)
inline
void ESEEIntercalibConstants::setGammaHigh1 ( const float &  value)
inline
void ESEEIntercalibConstants::setGammaHigh2 ( const float &  value)
inline
void ESEEIntercalibConstants::setGammaHigh3 ( const float &  value)
inline
void ESEEIntercalibConstants::setGammaLow0 ( const float &  value)
inline
void ESEEIntercalibConstants::setGammaLow1 ( const float &  value)
inline
void ESEEIntercalibConstants::setGammaLow2 ( const float &  value)
inline
void ESEEIntercalibConstants::setGammaLow3 ( const float &  value)
inline

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 89 of file ESEEIntercalibConstants.h.

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 89 of file ESEEIntercalibConstants.h.

Member Data Documentation

float ESEEIntercalibConstants::alphaHigh0_
private
float ESEEIntercalibConstants::alphaHigh1_
private

Definition at line 75 of file ESEEIntercalibConstants.h.

Referenced by ESEEIntercalibConstants(), getAlphaHigh1(), and setAlphaHigh1().

float ESEEIntercalibConstants::alphaHigh2_
private

Definition at line 81 of file ESEEIntercalibConstants.h.

Referenced by ESEEIntercalibConstants(), getAlphaHigh2(), and setAlphaHigh2().

float ESEEIntercalibConstants::alphaHigh3_
private

Definition at line 87 of file ESEEIntercalibConstants.h.

Referenced by ESEEIntercalibConstants(), getAlphaHigh3(), and setAlphaHigh3().

float ESEEIntercalibConstants::alphaLow0_
private
float ESEEIntercalibConstants::alphaLow1_
private

Definition at line 73 of file ESEEIntercalibConstants.h.

Referenced by ESEEIntercalibConstants(), getAlphaLow1(), and setAlphaLow1().

float ESEEIntercalibConstants::alphaLow2_
private

Definition at line 79 of file ESEEIntercalibConstants.h.

Referenced by ESEEIntercalibConstants(), getAlphaLow2(), and setAlphaLow2().

float ESEEIntercalibConstants::alphaLow3_
private

Definition at line 85 of file ESEEIntercalibConstants.h.

Referenced by ESEEIntercalibConstants(), getAlphaLow3(), and setAlphaLow3().

float ESEEIntercalibConstants::gammaHigh0_
private
float ESEEIntercalibConstants::gammaHigh1_
private

Definition at line 74 of file ESEEIntercalibConstants.h.

Referenced by ESEEIntercalibConstants(), getGammaHigh1(), and setGammaHigh1().

float ESEEIntercalibConstants::gammaHigh2_
private

Definition at line 80 of file ESEEIntercalibConstants.h.

Referenced by ESEEIntercalibConstants(), getGammaHigh2(), and setGammaHigh2().

float ESEEIntercalibConstants::gammaHigh3_
private

Definition at line 86 of file ESEEIntercalibConstants.h.

Referenced by ESEEIntercalibConstants(), getGammaHigh3(), and setGammaHigh3().

float ESEEIntercalibConstants::gammaLow0_
private
float ESEEIntercalibConstants::gammaLow1_
private

Definition at line 72 of file ESEEIntercalibConstants.h.

Referenced by ESEEIntercalibConstants(), getGammaLow1(), and setGammaLow1().

float ESEEIntercalibConstants::gammaLow2_
private

Definition at line 78 of file ESEEIntercalibConstants.h.

Referenced by ESEEIntercalibConstants(), getGammaLow2(), and setGammaLow2().

float ESEEIntercalibConstants::gammaLow3_
private

Definition at line 84 of file ESEEIntercalibConstants.h.

Referenced by ESEEIntercalibConstants(), getGammaLow3(), and setGammaLow3().