CMS 3D CMS Logo

ODTowersToByPassInfo.h
Go to the documentation of this file.
1 #ifndef ODTowersToBypassINFO_H
2 #define ODTowersToBypassINFO_H
3 
4 #include <map>
5 #include <string>
6 
8 
10 public:
11  friend class EcalCondDBInterface;
13  ~ODTowersToByPassInfo() override;
14 
15  // User data methods
16  inline std::string getTable() override { return "TOWERS_TO_BYPASS_INFO"; }
17 
18  inline void setId(int id) { m_ID = id; }
19  inline int getId() const { return m_ID; }
20 
21  // the tag is already in IODConfig
22 
23  inline void setVersion(int id) { m_version = id; }
24  inline int getVersion() const { return m_version; }
25  int fetchID() noexcept(false);
26 
27  int fetchNextId() noexcept(false);
28  void setParameters(const std::map<std::string, std::string>& my_keys_map);
29 
30 private:
31  void prepareWrite() noexcept(false) override;
32 
33  void writeDB() noexcept(false);
34 
35  void clear();
36 
37  void fetchData(ODTowersToByPassInfo* result) noexcept(false);
38 
39  // User data
40  int m_ID;
41  int m_version;
42 };
43 
44 #endif
ODTowersToByPassInfo::getId
int getId() const
Definition: ODTowersToByPassInfo.h:19
EcalCondDBInterface
Definition: EcalCondDBInterface.h:37
funct::false
false
Definition: Factorize.h:34
ODTowersToByPassInfo::setParameters
void setParameters(const std::map< std::string, std::string > &my_keys_map)
Definition: ODTowersToByPassInfo.cc:68
IODConfig.h
ODTowersToByPassInfo::m_version
int m_version
Definition: ODTowersToByPassInfo.h:41
watchdog.const
const
Definition: watchdog.py:83
ODTowersToByPassInfo::clear
void clear()
Definition: ODTowersToByPassInfo.cc:22
ODTowersToByPassInfo::~ODTowersToByPassInfo
~ODTowersToByPassInfo() override
Definition: ODTowersToByPassInfo.cc:24
ODTowersToByPassInfo::setId
void setId(int id)
Definition: ODTowersToByPassInfo.h:18
ODTowersToByPassInfo::fetchID
int fetchID() noexcept(false)
Definition: ODTowersToByPassInfo.cc:153
ODTowersToByPassInfo::m_ID
int m_ID
Definition: ODTowersToByPassInfo.h:40
ODTowersToByPassInfo::prepareWrite
void prepareWrite() noexcept(false) override
Definition: ODTowersToByPassInfo.cc:46
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
IODConfig
Definition: IODConfig.h:18
std
Definition: JetResolutionObject.h:76
ODTowersToByPassInfo::setVersion
void setVersion(int id)
Definition: ODTowersToByPassInfo.h:23
triggerObjects_cff.id
id
Definition: triggerObjects_cff.py:31
ODTowersToByPassInfo::fetchNextId
int fetchNextId() noexcept(false)
Definition: ODTowersToByPassInfo.cc:26
ODTowersToByPassInfo::ODTowersToByPassInfo
ODTowersToByPassInfo()
Definition: ODTowersToByPassInfo.cc:11
mps_fire.result
result
Definition: mps_fire.py:303
genParticles_cff.map
map
Definition: genParticles_cff.py:11
ODTowersToByPassInfo::writeDB
void writeDB() noexcept(false)
Definition: ODTowersToByPassInfo.cc:80
ODTowersToByPassInfo::getVersion
int getVersion() const
Definition: ODTowersToByPassInfo.h:24
ODTowersToByPassInfo::getTable
std::string getTable() override
Definition: ODTowersToByPassInfo.h:16
ODTowersToByPassInfo::fetchData
void fetchData(ODTowersToByPassInfo *result) noexcept(false)
Definition: ODTowersToByPassInfo.cc:107
ODTowersToByPassInfo
Definition: ODTowersToByPassInfo.h:9