CMS 3D CMS Logo

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

#include <EcalTimeOffsetConstant.h>

Public Member Functions

 EcalTimeOffsetConstant ()
 
 EcalTimeOffsetConstant (const float &EBvalue, const float &EEvalue)
 
float getEBValue () const
 
float getEEValue () const
 
void print (std::ostream &s) const
 
void setEBValue (const float &value)
 
void setEEValue (const float &value)
 
 ~EcalTimeOffsetConstant ()
 

Private Member Functions

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

Private Attributes

float EBvalue_
 
float EEvalue_
 

Friends

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

Detailed Description

Author: Seth Cooper, University of Minnesota Created: 21 Mar 2011

Id

Definition at line 13 of file EcalTimeOffsetConstant.h.

Constructor & Destructor Documentation

◆ EcalTimeOffsetConstant() [1/2]

EcalTimeOffsetConstant::EcalTimeOffsetConstant ( )

Author: Seth Cooper, University of Minnesota Created: 21 Mar 2011

Id

Definition at line 9 of file EcalTimeOffsetConstant.cc.

9  {
10  EBvalue_ = 0.;
11  EEvalue_ = 0.;
12 }

References EBvalue_, and EEvalue_.

◆ EcalTimeOffsetConstant() [2/2]

EcalTimeOffsetConstant::EcalTimeOffsetConstant ( const float &  EBvalue,
const float &  EEvalue 
)

Definition at line 14 of file EcalTimeOffsetConstant.cc.

14  {
15  EBvalue_ = EBvalue;
16  EEvalue_ = EEvalue;
17 }

References EBvalue_, and EEvalue_.

◆ ~EcalTimeOffsetConstant()

EcalTimeOffsetConstant::~EcalTimeOffsetConstant ( )

Definition at line 19 of file EcalTimeOffsetConstant.cc.

19 {}

Member Function Documentation

◆ getEBValue()

float EcalTimeOffsetConstant::getEBValue ( ) const
inline

◆ getEEValue()

float EcalTimeOffsetConstant::getEEValue ( ) const
inline

◆ print()

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

Definition at line 22 of file EcalTimeOffsetConstant.h.

22  {
23  s << "EcalTimeOffsetConstant: EB " << EBvalue_ << "; EE " << EEvalue_ << " [ns]";
24  }

References EBvalue_, EEvalue_, and alignCSCRings::s.

◆ serialize()

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

◆ setEBValue()

void EcalTimeOffsetConstant::setEBValue ( const float &  value)
inline

Definition at line 18 of file EcalTimeOffsetConstant.h.

18 { EBvalue_ = value; }

References EBvalue_, and relativeConstraints::value.

◆ setEEValue()

void EcalTimeOffsetConstant::setEEValue ( const float &  value)
inline

Definition at line 19 of file EcalTimeOffsetConstant.h.

19 { EEvalue_ = value; }

References EEvalue_, and relativeConstraints::value.

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 30 of file EcalTimeOffsetConstant.h.

◆ cond::serialization::access

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

Definition at line 30 of file EcalTimeOffsetConstant.h.

Member Data Documentation

◆ EBvalue_

float EcalTimeOffsetConstant::EBvalue_
private

Definition at line 27 of file EcalTimeOffsetConstant.h.

Referenced by EcalTimeOffsetConstant(), getEBValue(), print(), and setEBValue().

◆ EEvalue_

float EcalTimeOffsetConstant::EEvalue_
private

Definition at line 28 of file EcalTimeOffsetConstant.h.

Referenced by EcalTimeOffsetConstant(), getEEValue(), print(), and setEEValue().

alignCSCRings.s
s
Definition: alignCSCRings.py:92
EcalTimeOffsetConstant::EEvalue_
float EEvalue_
Definition: EcalTimeOffsetConstant.h:28
EcalTimeOffsetConstant::EBvalue_
float EBvalue_
Definition: EcalTimeOffsetConstant.h:27
relativeConstraints.value
value
Definition: relativeConstraints.py:53