/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
CondFormats/ESObjects/interface/ESWeightSet.h
36 строк
859 B
Cms Build
Clang-Format
20 май 2019, 13:01
20 май 2019, 13:01
a27185a
Код
Авторство
О чём код?
#ifndef CondFormats_ESObjects_ESWeightSet_HH #define CondFormats_ESObjects_ESWeightSet_HH #include "CondFormats/Serialization/interface/Serializable.h" #include "CondFormats/ESObjects/interface/ESWeight.h" #include "DataFormats/Math/interface/Matrix.h" #include <iostream> class ESWeightSet { public: typedef math::Matrix<2, 3>::type ESWeightMatrix; ESWeightSet(); ESWeightSet(const ESWeightSet& aset); ESWeightSet(ESWeightMatrix& amat); ~ESWeightSet(); ESWeightMatrix& getWeights() { return wgtBeforeSwitch_; } const ESWeightMatrix& getWeights() const { return wgtBeforeSwitch_; } ESWeightSet& operator=(const ESWeightSet& rhs); void print(std::ostream& o) const { using namespace std; o << "wgtBeforeSwitch_.: " << wgtBeforeSwitch_ << endl; } private: ESWeightMatrix wgtBeforeSwitch_; COND_SERIALIZABLE; }; #endif