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