CMS 3D CMS Logo

Public Member Functions | Private Attributes

EcalTimeOffsetConstant Class Reference

#include <EcalTimeOffsetConstant.h>

List of all members.

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:
EcalTimeOffsetConstant.h,v 1.1 2011/03/22 16:13:04 argiro Exp

Definition at line 11 of file EcalTimeOffsetConstant.h.


Constructor & Destructor Documentation

EcalTimeOffsetConstant::EcalTimeOffsetConstant ( )

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

Id:
EcalTimeOffsetConstant.cc,v 1.1 2011/03/22 16:13:04 argiro Exp

Definition at line 9 of file EcalTimeOffsetConstant.cc.

References EBvalue_, and EEvalue_.

{
  EBvalue_=0.;
  EEvalue_=0.;
}
EcalTimeOffsetConstant::EcalTimeOffsetConstant ( const float &  EBvalue,
const float &  EEvalue 
)

Definition at line 15 of file EcalTimeOffsetConstant.cc.

References EBvalue_, and EEvalue_.

{
  EBvalue_ = EBvalue;
  EEvalue_ = EEvalue;
}
EcalTimeOffsetConstant::~EcalTimeOffsetConstant ( )

Definition at line 21 of file EcalTimeOffsetConstant.cc.

{
}

Member Function Documentation

float EcalTimeOffsetConstant::getEBValue ( ) const [inline]

Definition at line 18 of file EcalTimeOffsetConstant.h.

References EBvalue_.

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

Definition at line 19 of file EcalTimeOffsetConstant.h.

References EEvalue_.

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

Definition at line 20 of file EcalTimeOffsetConstant.h.

References EBvalue_, and EEvalue_.

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

Definition at line 16 of file EcalTimeOffsetConstant.h.

References EBvalue_, and relativeConstraints::value.

{ EBvalue_ = value; }
void EcalTimeOffsetConstant::setEEValue ( const float &  value) [inline]

Definition at line 17 of file EcalTimeOffsetConstant.h.

References EEvalue_, and relativeConstraints::value.

{ EEvalue_ = value; }

Member Data Documentation

Definition at line 25 of file EcalTimeOffsetConstant.h.

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

Definition at line 26 of file EcalTimeOffsetConstant.h.

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