CMS 3D CMS Logo

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
ESWeightSet::ESWeightSet
ESWeightSet()
Definition: ESWeightSet.cc:2
ESWeight.h
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
ESWeightSet::~ESWeightSet
~ESWeightSet()
Definition: ESWeightSet.cc:13
ESWeightSet::operator=
ESWeightSet & operator=(const ESWeightSet &rhs)
Definition: ESWeightSet.cc:8
ESWeightSet::getWeights
const ESWeightMatrix & getWeights() const
Definition: ESWeightSet.h:21
ESWeightSet::getWeights
ESWeightMatrix & getWeights()
Definition: ESWeightSet.h:19
Matrix.h
EcalTangentSkim_cfg.o
o
Definition: EcalTangentSkim_cfg.py:42
math::Matrix::type
ROOT::Math::SMatrix< double, N, M > type
Definition: Matrix.h:9
ESWeightSet::wgtBeforeSwitch_
ESWeightMatrix wgtBeforeSwitch_
Definition: ESWeightSet.h:31
ESWeightSet::print
void print(std::ostream &o) const
Definition: ESWeightSet.h:25
Serializable.h
ESWeightSet
Definition: ESWeightSet.h:10
ESWeightSet::ESWeightMatrix
math::Matrix< 2, 3 >::type ESWeightMatrix
Definition: ESWeightSet.h:12
std
Definition: JetResolutionObject.h:76