/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
CondFormats/CSCObjects/interface/CSCDBGasGainCorrection.h
31 строка
666 B
Cms Build
Clang-Format
22 май 2019, 04:56
22 май 2019, 04:56
28f175a
Код
Авторство
О чём код?
#ifndef CSCDBGasGainCorrection_h #define CSCDBGasGainCorrection_h #include "CondFormats/Serialization/interface/Serializable.h" #include <iosfwd> #include <vector> class CSCDBGasGainCorrection { public: CSCDBGasGainCorrection() {} ~CSCDBGasGainCorrection() {} struct Item { float gainCorr; COND_SERIALIZABLE; }; typedef std::vector<Item> GasGainContainer; GasGainContainer gasGainCorr; const Item& item(int index) const { return gasGainCorr[index]; } float value(int index) const { return gasGainCorr[index].gainCorr; } COND_SERIALIZABLE; }; std::ostream& operator<<(std::ostream& os, const CSCDBGasGainCorrection& cscdb); #endif