Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
()
throw
(std::runtime_error);
26
27
int
fetchNextId
()
throw
(std::runtime_error);
28
void
setParameters
(
const
std::map<std::
string
,std::
string
>& my_keys_map);
29
30
private:
31
void
prepareWrite
()
throw
(std::runtime_error);
32
33
void
writeDB
()
throw
(std::runtime_error);
34
35
void
clear
();
36
37
void
fetchData
(
ODGolBiasCurrentInfo
*
result
)
throw
(std::runtime_error);
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
ODGolBiasCurrentInfo::getId
int getId() const
Definition:
ODGolBiasCurrentInfo.h:19
ODGolBiasCurrentInfo::getVersion
int getVersion() const
Definition:
ODGolBiasCurrentInfo.h:24
ODGolBiasCurrentInfo::m_ID
int m_ID
Definition:
ODGolBiasCurrentInfo.h:42
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
mps_fire.result
tuple result
Definition:
mps_fire.py:84
ODGolBiasCurrentInfo::prepareWrite
void prepareWrite()
Definition:
ODGolBiasCurrentInfo.cc:58
ODGolBiasCurrentInfo::fetchID
int fetchID()
Definition:
ODGolBiasCurrentInfo.cc:183
IODConfig
Definition:
IODConfig.h:19
ODGolBiasCurrentInfo::ODGolBiasCurrentInfo
ODGolBiasCurrentInfo()
Definition:
ODGolBiasCurrentInfo.cc:11
ODGolBiasCurrentInfo::getTable
std::string getTable()
Definition:
ODGolBiasCurrentInfo.h:16
ODGolBiasCurrentInfo::fetchData
void fetchData(ODGolBiasCurrentInfo *result)
Definition:
ODGolBiasCurrentInfo.cc:130
compareJSON.const
string const
Definition:
compareJSON.py:14
ODGolBiasCurrentInfo::fetchNextId
int fetchNextId()
Definition:
ODGolBiasCurrentInfo.cc:36
IODConfig.h
ODGolBiasCurrentInfo::writeDB
void writeDB()
Definition:
ODGolBiasCurrentInfo.cc:97
ODGolBiasCurrentInfo::clear
void clear()
Definition:
ODGolBiasCurrentInfo.cc:24
ODGolBiasCurrentInfo::m_version
int m_version
Definition:
ODGolBiasCurrentInfo.h:43
CommPDSkim_cfg.throw
tuple throw
Definition:
CommPDSkim_cfg.py:101
ODGolBiasCurrentInfo::setId
void setId(int id)
Definition:
ODGolBiasCurrentInfo.h:18
Generated for CMSSW Reference Manual by
1.8.5