/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
OnlineDB/EcalCondDB/interface/RunLaserRunDat.h
38 строк
1 KB
Cms Build
Clang-Format
20 май 2019, 13:02
20 май 2019, 13:02
4a10e79
Код
Авторство
О чём код?
#ifndef RUNLASERRUNDAT_H #define RUNLASERRUNDAT_H #include <vector> #include <stdexcept> #include "OnlineDB/EcalCondDB/interface/IDataItem.h" #include "OnlineDB/EcalCondDB/interface/RunIOV.h" #include "OnlineDB/EcalCondDB/interface/EcalLogicID.h" class RunLaserRunDat : public IDataItem { public: friend class EcalCondDBInterface; RunLaserRunDat(); ~RunLaserRunDat() override; // User data methods inline std::string getTable() override { return "RUN_LASERRUN_CONFIG_DAT"; } inline void setLaserSequenceType(std::string x) { m_laserSeqType = x; } inline std::string getLaserSequenceType() const { return m_laserSeqType; } // inline void setLaserSequenceCond(std::string x) { m_laserSeqCond = x; } inline std::string getLaserSequenceCond() const { return m_laserSeqCond; } private: void prepareWrite() noexcept(false) override; void writeDB(const EcalLogicID* ecid, const RunLaserRunDat* item, RunIOV* iov) noexcept(false); void fetchData(std::map<EcalLogicID, RunLaserRunDat>* fillMap, RunIOV* iov) noexcept(false); // User data std::string m_laserSeqType; std::string m_laserSeqCond; }; #endif