test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 
12  public:
13 
15 
16  ESWeightSet();
17  ESWeightSet(const ESWeightSet& aset);
19  ~ESWeightSet();
20 
22 
23  const ESWeightMatrix& getWeights() const { return wgtBeforeSwitch_; }
24 
25  ESWeightSet& operator=(const ESWeightSet& rhs);
26 
27  void print(std::ostream& o) const {
28  using namespace std;
29  o << "wgtBeforeSwitch_.: " << wgtBeforeSwitch_
30  << endl;
31  }
32 
33 
34  private:
36 
38 };
39 
40 #endif
const ESWeightMatrix & getWeights() const
Definition: ESWeightSet.h:23
ROOT::Math::SMatrix< double, N, M > type
Definition: Matrix.h:10
void print(std::ostream &o) const
Definition: ESWeightSet.h:27
math::Matrix< 2, 3 >::type ESWeightMatrix
Definition: ESWeightSet.h:14
ESWeightSet & operator=(const ESWeightSet &rhs)
Definition: ESWeightSet.cc:14
ESWeightMatrix & getWeights()
Definition: ESWeightSet.h:21
ESWeightMatrix wgtBeforeSwitch_
Definition: ESWeightSet.h:35
#define COND_SERIALIZABLE
Definition: Serializable.h:37