CMS 3D CMS Logo

ESTimeSampleWeights.h
Go to the documentation of this file.
1 #ifndef CondFormats_ESObjects_ESTimeSampleWeights_H
2 #define CondFormats_ESObjects_ESTimeSampleWeights_H
4 
5 #include <iostream>
6 
8 public:
10  ESTimeSampleWeights(const float& w0, const float& w1, const float& w2);
12 
13  void setWeightForTS0(const float& value) { w0_ = value; }
14  float getWeightForTS0() const { return w0_; }
15  void setWeightForTS1(const float& value) { w1_ = value; }
16  float getWeightForTS1() const { return w1_; }
17  void setWeightForTS2(const float& value) { w2_ = value; }
18  float getWeightForTS2() const { return w2_; }
19 
20  void print(std::ostream& s) const { s << "ESTimeSampleWeights: " << w0_ << " " << w1_ << " " << w2_; }
21 
22 private:
23  float w0_;
24  float w1_;
25  float w2_;
26 
28 };
29 
30 #endif
common ppss p3p6s2 common epss epspn46 common const1 w2
Definition: inclppp.h:1
float getWeightForTS1() const
void setWeightForTS0(const float &value)
void print(std::ostream &s) const
float getWeightForTS2() const
float getWeightForTS0() const
void setWeightForTS2(const float &value)
Definition: value.py:1
#define COND_SERIALIZABLE
Definition: Serializable.h:38
void setWeightForTS1(const float &value)