CMS 3D CMS Logo

FEConfigBadStripInfo.h
Go to the documentation of this file.
1 #ifndef FECONFIGBADStripINFO_H
2 #define FECONFIGBADStripINFO_H
3 
4 #include <map>
5 #include <string>
6 
8 
10 public:
11  friend class EcalCondDBInterface;
13  ~FEConfigBadStripInfo() override;
14 
15  // User data methods
16  inline std::string getTable() override { return "FE_CONFIG_BadST_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(FEConfigBadStripInfo* result) noexcept(false);
38 
39  // User data
40  int m_ID;
41  int m_version;
42 };
43 
44 #endif
EcalCondDBInterface
Definition: EcalCondDBInterface.h:37
FEConfigBadStripInfo::getVersion
int getVersion() const
Definition: FEConfigBadStripInfo.h:24
funct::false
false
Definition: Factorize.h:34
FEConfigBadStripInfo::FEConfigBadStripInfo
FEConfigBadStripInfo()
Definition: FEConfigBadStripInfo.cc:11
IODConfig.h
FEConfigBadStripInfo::setParameters
void setParameters(const std::map< std::string, std::string > &my_keys_map)
Definition: FEConfigBadStripInfo.cc:68
FEConfigBadStripInfo::clear
void clear()
Definition: FEConfigBadStripInfo.cc:22
watchdog.const
const
Definition: watchdog.py:83
FEConfigBadStripInfo::setVersion
void setVersion(int id)
Definition: FEConfigBadStripInfo.h:23
FEConfigBadStripInfo::fetchID
int fetchID() noexcept(false)
Definition: FEConfigBadStripInfo.cc:142
FEConfigBadStripInfo::m_version
int m_version
Definition: FEConfigBadStripInfo.h:41
FEConfigBadStripInfo
Definition: FEConfigBadStripInfo.h:9
FEConfigBadStripInfo::fetchNextId
int fetchNextId() noexcept(false)
Definition: FEConfigBadStripInfo.cc:26
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
FEConfigBadStripInfo::prepareWrite
void prepareWrite() noexcept(false) override
Definition: FEConfigBadStripInfo.cc:46
FEConfigBadStripInfo::~FEConfigBadStripInfo
~FEConfigBadStripInfo() override
Definition: FEConfigBadStripInfo.cc:24
IODConfig
Definition: IODConfig.h:18
FEConfigBadStripInfo::fetchData
void fetchData(FEConfigBadStripInfo *result) noexcept(false)
Definition: FEConfigBadStripInfo.cc:107
FEConfigBadStripInfo::setId
void setId(int id)
Definition: FEConfigBadStripInfo.h:18
FEConfigBadStripInfo::getId
int getId() const
Definition: FEConfigBadStripInfo.h:19
std
Definition: JetResolutionObject.h:76
triggerObjects_cff.id
id
Definition: triggerObjects_cff.py:31
mps_fire.result
result
Definition: mps_fire.py:303
genParticles_cff.map
map
Definition: genParticles_cff.py:11
FEConfigBadStripInfo::m_ID
int m_ID
Definition: FEConfigBadStripInfo.h:40
FEConfigBadStripInfo::writeDB
void writeDB() noexcept(false)
Definition: FEConfigBadStripInfo.cc:80
FEConfigBadStripInfo::getTable
std::string getTable() override
Definition: FEConfigBadStripInfo.h:16