Main Page
Namespaces
Classes
Package Documentation
OnlineDB
EcalCondDB
interface
ODGolBiasCurrentInfo.h
Go to the documentation of this file.
1
#ifndef ODGolBiasCurrentINFO_H
2
#define ODGolBiasCurrentINFO_H
3
4
#include <map>
5
#include <string>
6
7
#include "
OnlineDB/EcalCondDB/interface/IODConfig.h
"
8
9
class
ODGolBiasCurrentInfo
:
public
IODConfig
{
10
public
:
11
friend
class
EcalCondDBInterface
;
12
ODGolBiasCurrentInfo
();
13
~ODGolBiasCurrentInfo
();
14
15
// User data methods
16
inline
std::string
getTable
() {
return
"GOL_BIAS_CURRENT_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
);
32
33
void
writeDB
()
noexcept
(
false
);
34
35
void
clear
();
36
37
void
fetchData
(
ODGolBiasCurrentInfo
*
result
)
noexcept
(
false
);
38
39
40
41
// User data
42
int
m_ID
;
43
int
m_version
;
44
45
};
46
47
#endif
ODGolBiasCurrentInfo::setVersion
void setVersion(int id)
Definition:
ODGolBiasCurrentInfo.h:23
ODGolBiasCurrentInfo::~ODGolBiasCurrentInfo
~ODGolBiasCurrentInfo()
Definition:
ODGolBiasCurrentInfo.cc:30
ODGolBiasCurrentInfo
Definition:
ODGolBiasCurrentInfo.h:9
ODGolBiasCurrentInfo::setParameters
void setParameters(const std::map< std::string, std::string > &my_keys_map)
Definition:
ODGolBiasCurrentInfo.cc:82
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:38
mps_fire.result
result
Definition:
mps_fire.py:113
ODGolBiasCurrentInfo::fetchData
void fetchData(ODGolBiasCurrentInfo *result) noexcept(false)
Definition:
ODGolBiasCurrentInfo.cc:130
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
ODGolBiasCurrentInfo::getId
int getId() const
Definition:
ODGolBiasCurrentInfo.h:19
ODGolBiasCurrentInfo::fetchNextId
int fetchNextId() noexcept(false)
Definition:
ODGolBiasCurrentInfo.cc:36
noexcept
#define noexcept
ODGolBiasCurrentInfo::getVersion
int getVersion() const
Definition:
ODGolBiasCurrentInfo.h:24
ODGolBiasCurrentInfo::writeDB
void writeDB() noexcept(false)
Definition:
ODGolBiasCurrentInfo.cc:97
ODGolBiasCurrentInfo::m_ID
int m_ID
Definition:
ODGolBiasCurrentInfo.h:42
IODConfig
Definition:
IODConfig.h:19
ODGolBiasCurrentInfo::prepareWrite
void prepareWrite() noexcept(false)
Definition:
ODGolBiasCurrentInfo.cc:58
ODGolBiasCurrentInfo::ODGolBiasCurrentInfo
ODGolBiasCurrentInfo()
Definition:
ODGolBiasCurrentInfo.cc:11
ODGolBiasCurrentInfo::getTable
std::string getTable()
Definition:
ODGolBiasCurrentInfo.h:16
ODGolBiasCurrentInfo::fetchID
int fetchID() noexcept(false)
Definition:
ODGolBiasCurrentInfo.cc:183
IODConfig.h
ODGolBiasCurrentInfo::clear
void clear()
Definition:
ODGolBiasCurrentInfo.cc:24
ODGolBiasCurrentInfo::m_version
int m_version
Definition:
ODGolBiasCurrentInfo.h:43
hcalTTPDigis_cfi.id
id
Definition:
hcalTTPDigis_cfi.py:7
ODGolBiasCurrentInfo::setId
void setId(int id)
Definition:
ODGolBiasCurrentInfo.h:18
Generated for CMSSW Reference Manual by
1.8.11