CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends
ESADCToGeVConstant Class Reference

#include <ESADCToGeVConstant.h>

Public Member Functions

 ESADCToGeVConstant ()
 
 ESADCToGeVConstant (const float &ESvaluelow, const float &ESvaluehigh)
 
float getESValueHigh () const
 
float getESValueLow () const
 
void print (std::ostream &s) const
 
void setESValueHigh (const float &value)
 
void setESValueLow (const float &value)
 
 ~ESADCToGeVConstant ()
 

Private Member Functions

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

Private Attributes

float ESvaluehigh_
 
float ESvaluelow_
 

Friends

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

Detailed Description

Definition at line 7 of file ESADCToGeVConstant.h.

Constructor & Destructor Documentation

◆ ESADCToGeVConstant() [1/2]

ESADCToGeVConstant::ESADCToGeVConstant ( )

Definition at line 3 of file ESADCToGeVConstant.cc.

3  {
4  ESvaluelow_ = 0.;
5  ESvaluehigh_ = 0.;
6 }

References ESvaluehigh_, and ESvaluelow_.

◆ ESADCToGeVConstant() [2/2]

ESADCToGeVConstant::ESADCToGeVConstant ( const float &  ESvaluelow,
const float &  ESvaluehigh 
)

Definition at line 8 of file ESADCToGeVConstant.cc.

8  {
9  ESvaluelow_ = ESvaluelow;
10  ESvaluehigh_ = ESvaluehigh;
11 }

References ESvaluehigh_, and ESvaluelow_.

◆ ~ESADCToGeVConstant()

ESADCToGeVConstant::~ESADCToGeVConstant ( )

Definition at line 13 of file ESADCToGeVConstant.cc.

13 {}

Member Function Documentation

◆ getESValueHigh()

float ESADCToGeVConstant::getESValueHigh ( ) const
inline

Definition at line 15 of file ESADCToGeVConstant.h.

15 { return ESvaluehigh_; }

References ESvaluehigh_.

◆ getESValueLow()

float ESADCToGeVConstant::getESValueLow ( ) const
inline

Definition at line 13 of file ESADCToGeVConstant.h.

13 { return ESvaluelow_; }

References ESvaluelow_.

◆ print()

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

Definition at line 16 of file ESADCToGeVConstant.h.

16  {
17  s << "ESADCToGeVConstant: ES low/high " << ESvaluelow_ << " / " << ESvaluehigh_ << " [GeV/ADC count]";
18  }

References ESvaluehigh_, ESvaluelow_, and alignCSCRings::s.

◆ serialize()

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

◆ setESValueHigh()

void ESADCToGeVConstant::setESValueHigh ( const float &  value)
inline

Definition at line 14 of file ESADCToGeVConstant.h.

14 { ESvaluehigh_ = value; }

References ESvaluehigh_, and relativeConstraints::value.

◆ setESValueLow()

void ESADCToGeVConstant::setESValueLow ( const float &  value)
inline

Definition at line 12 of file ESADCToGeVConstant.h.

12 { ESvaluelow_ = value; }

References ESvaluelow_, and relativeConstraints::value.

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 24 of file ESADCToGeVConstant.h.

◆ cond::serialization::access

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

Definition at line 24 of file ESADCToGeVConstant.h.

Member Data Documentation

◆ ESvaluehigh_

float ESADCToGeVConstant::ESvaluehigh_
private

Definition at line 22 of file ESADCToGeVConstant.h.

Referenced by ESADCToGeVConstant(), getESValueHigh(), print(), and setESValueHigh().

◆ ESvaluelow_

float ESADCToGeVConstant::ESvaluelow_
private

Definition at line 21 of file ESADCToGeVConstant.h.

Referenced by ESADCToGeVConstant(), getESValueLow(), print(), and setESValueLow().

alignCSCRings.s
s
Definition: alignCSCRings.py:92
ESADCToGeVConstant::ESvaluelow_
float ESvaluelow_
Definition: ESADCToGeVConstant.h:21
relativeConstraints.value
value
Definition: relativeConstraints.py:53
ESADCToGeVConstant::ESvaluehigh_
float ESvaluehigh_
Definition: ESADCToGeVConstant.h:22