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
3 #include <iostream>
4 
6 
7  public:
8 
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 {
21  s<<"ESTimeSampleWeights: "<<w0_<<" "<<w1_<<" "<<w2_;
22  }
23 
24  private:
25 
26  float w0_;
27  float w1_;
28  float w2_;
29 };
30 
31 
32 #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)
void setWeightForTS1(const float &value)