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
float getWeightForTS0() const
common ppss p3p6s2 common epss epspn46 common const1 w2
Definition: inclppp.h:1
void setWeightForTS0(const float &value)
void print(std::ostream &s) const
void setWeightForTS2(const float &value)
float getWeightForTS2() const
Definition: value.py:1
weight_default_t w1[2000]
Definition: w1.h:9
#define COND_SERIALIZABLE
Definition: Serializable.h:39
void setWeightForTS1(const float &value)
float getWeightForTS1() const