CMS 3D CMS Logo

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

#include <ESMIPToGeVConstant.h>

Public Member Functions

 ESMIPToGeVConstant ()
 
 ESMIPToGeVConstant (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)
 
 ~ESMIPToGeVConstant ()
 

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 ESMIPToGeVConstant.h.

Constructor & Destructor Documentation

◆ ESMIPToGeVConstant() [1/2]

ESMIPToGeVConstant::ESMIPToGeVConstant ( )

Definition at line 3 of file ESMIPToGeVConstant.cc.

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

References ESvaluehigh_, and ESvaluelow_.

◆ ESMIPToGeVConstant() [2/2]

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

Definition at line 8 of file ESMIPToGeVConstant.cc.

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

References ESvaluehigh_, and ESvaluelow_.

◆ ~ESMIPToGeVConstant()

ESMIPToGeVConstant::~ESMIPToGeVConstant ( )

Definition at line 13 of file ESMIPToGeVConstant.cc.

13 {}

Member Function Documentation

◆ getESValueHigh()

float ESMIPToGeVConstant::getESValueHigh ( ) const
inline

◆ getESValueLow()

float ESMIPToGeVConstant::getESValueLow ( ) const
inline

◆ print()

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

Definition at line 16 of file ESMIPToGeVConstant.h.

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

References ESvaluehigh_, ESvaluelow_, and alignCSCRings::s.

◆ serialize()

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

◆ setESValueHigh()

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

Definition at line 14 of file ESMIPToGeVConstant.h.

14 { ESvaluehigh_ = value; }

References ESvaluehigh_, and relativeConstraints::value.

◆ setESValueLow()

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

Definition at line 12 of file ESMIPToGeVConstant.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 ESMIPToGeVConstant.h.

◆ cond::serialization::access

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

Definition at line 24 of file ESMIPToGeVConstant.h.

Member Data Documentation

◆ ESvaluehigh_

float ESMIPToGeVConstant::ESvaluehigh_
private

Definition at line 22 of file ESMIPToGeVConstant.h.

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

◆ ESvaluelow_

float ESMIPToGeVConstant::ESvaluelow_
private

Definition at line 21 of file ESMIPToGeVConstant.h.

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

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