CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ESWeightSet.h
Go to the documentation of this file.
1 #ifndef CondFormats_ESObjects_ESWeightSet_HH
2 #define CondFormats_ESObjects_ESWeightSet_HH
3 
5 
8 #include <iostream>
9 
10 class ESWeightSet {
11 public:
13 
14  ESWeightSet();
15  ESWeightSet(const ESWeightSet& aset);
17  ~ESWeightSet();
18 
20 
21  const ESWeightMatrix& getWeights() const { return wgtBeforeSwitch_; }
22 
23  ESWeightSet& operator=(const ESWeightSet& rhs);
24 
25  void print(std::ostream& o) const {
26  using namespace std;
27  o << "wgtBeforeSwitch_.: " << wgtBeforeSwitch_ << endl;
28  }
29 
30 private:
32 
34 };
35 
36 #endif
const ESWeightMatrix & getWeights() const
Definition: ESWeightSet.h:21
void print(std::ostream &o) const
Definition: ESWeightSet.h:25
ESWeightSet & operator=(const ESWeightSet &rhs)
Definition: ESWeightSet.cc:8
ESWeightMatrix & getWeights()
Definition: ESWeightSet.h:19
ESWeightMatrix wgtBeforeSwitch_
Definition: ESWeightSet.h:31
math::Matrix< 2, 3 >::type ESWeightMatrix
Definition: ESWeightSet.h:12
ROOT::Math::SMatrix< double, N, M > type
Definition: Matrix.h:9
#define COND_SERIALIZABLE
Definition: Serializable.h:39