CMS 3D CMS Logo

EcalTimeOffsetConstant.h
Go to the documentation of this file.
1 #ifndef CondFormats_EcalObjects_EcalTimeOffsetConstant_H
2 #define CondFormats_EcalObjects_EcalTimeOffsetConstant_H
3 
10 
11 #include <iostream>
12 
14 public:
16  EcalTimeOffsetConstant(const float& EBvalue, const float& EEvalue);
18  void setEBValue(const float& value) { EBvalue_ = value; }
19  void setEEValue(const float& value) { EEvalue_ = value; }
20  float getEBValue() const { return EBvalue_; }
21  float getEEValue() const { return EEvalue_; }
22  void print(std::ostream& s) const {
23  s << "EcalTimeOffsetConstant: EB " << EBvalue_ << "; EE " << EEvalue_ << " [ns]";
24  }
25 
26 private:
27  float EBvalue_;
28  float EEvalue_;
29 
31 };
32 
40 #endif
void setEEValue(const float &value)
void print(std::ostream &s) const
Definition: value.py:1
#define COND_SERIALIZABLE
Definition: Serializable.h:38
void setEBValue(const float &value)