CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
9  public:
10 
12  ESTimeSampleWeights(const float & w0, const float & w1, const float & w2);
14 
15  void setWeightForTS0(const float& value) { w0_ = value; }
16  float getWeightForTS0() const { return w0_; }
17  void setWeightForTS1(const float& value) { w1_ = value; }
18  float getWeightForTS1() const { return w1_; }
19  void setWeightForTS2(const float& value) { w2_ = value; }
20  float getWeightForTS2() const { return w2_; }
21 
22  void print(std::ostream& s) const {
23  s<<"ESTimeSampleWeights: "<<w0_<<" "<<w1_<<" "<<w2_;
24  }
25 
26  private:
27 
28  float w0_;
29  float w1_;
30  float w2_;
31 
33 };
34 
35 
36 #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)
#define COND_SERIALIZABLE
Definition: Serializable.h:37
void setWeightForTS1(const float &value)