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 Attributes
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 Attributes

float EBvalue_
 
float EEvalue_
 

Detailed Description

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

Id:

Definition at line 11 of file EcalTimeOffsetConstant.h.

Constructor & Destructor Documentation

EcalTimeOffsetConstant::EcalTimeOffsetConstant ( )

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

Id:

Definition at line 9 of file EcalTimeOffsetConstant.cc.

References EBvalue_, and EEvalue_.

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

Definition at line 15 of file EcalTimeOffsetConstant.cc.

References EBvalue_, and EEvalue_.

16 {
17  EBvalue_ = EBvalue;
18  EEvalue_ = EEvalue;
19 }
EcalTimeOffsetConstant::~EcalTimeOffsetConstant ( )

Definition at line 21 of file EcalTimeOffsetConstant.cc.

22 {
23 }

Member Function Documentation

float EcalTimeOffsetConstant::getEBValue ( ) const
inline

Definition at line 18 of file EcalTimeOffsetConstant.h.

References EBvalue_.

Referenced by EcalTimeOffsetXMLTranslator::dumpXML().

18 { return EBvalue_; }
float EcalTimeOffsetConstant::getEEValue ( ) const
inline

Definition at line 19 of file EcalTimeOffsetConstant.h.

References EEvalue_.

Referenced by EcalTimeOffsetXMLTranslator::dumpXML().

19 { return EEvalue_; }
void EcalTimeOffsetConstant::print ( std::ostream &  s) const
inline

Definition at line 20 of file EcalTimeOffsetConstant.h.

References EBvalue_, and EEvalue_.

20  {
21  s << "EcalTimeOffsetConstant: EB " << EBvalue_ << "; EE " << EEvalue_ << " [ns]";
22  }
void EcalTimeOffsetConstant::setEBValue ( const float &  value)
inline
void EcalTimeOffsetConstant::setEEValue ( const float &  value)
inline

Member Data Documentation

float EcalTimeOffsetConstant::EBvalue_
private

Definition at line 25 of file EcalTimeOffsetConstant.h.

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

float EcalTimeOffsetConstant::EEvalue_
private

Definition at line 26 of file EcalTimeOffsetConstant.h.

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