Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
OnlineDB
EcalCondDB
interface
ODFEDelaysInfo.h
Go to the documentation of this file.
1
#ifndef ODFEDELAYSINFO_H
2
#define ODFEDELAYSINFO_H
3
4
#include <map>
5
#include <string>
6
7
#include "
OnlineDB/EcalCondDB/interface/IODConfig.h
"
8
9
class
ODFEDelaysInfo
:
public
IODConfig
{
10
public
:
11
friend
class
EcalCondDBInterface
;
12
ODFEDelaysInfo
();
13
~ODFEDelaysInfo
();
14
15
// User data methods
16
inline
std::string
getTable
() {
return
"DELAYS_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
(
ODFEDelaysInfo
*
result
)
throw
(std::runtime_error);
38
39
40
41
// User data
42
int
m_ID
;
43
int
m_version
;
44
45
};
46
47
#endif
ODFEDelaysInfo::getTable
std::string getTable()
Definition:
ODFEDelaysInfo.h:16
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:38
ODFEDelaysInfo::m_version
int m_version
Definition:
ODFEDelaysInfo.h:43
ODFEDelaysInfo::~ODFEDelaysInfo
~ODFEDelaysInfo()
Definition:
ODFEDelaysInfo.cc:31
ODFEDelaysInfo::fetchData
void fetchData(ODFEDelaysInfo *result)
Definition:
ODFEDelaysInfo.cc:131
ODFEDelaysInfo::ODFEDelaysInfo
ODFEDelaysInfo()
Definition:
ODFEDelaysInfo.cc:12
ODFEDelaysInfo::m_ID
int m_ID
Definition:
ODFEDelaysInfo.h:42
ODFEDelaysInfo::getId
int getId() const
Definition:
ODFEDelaysInfo.h:19
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
ODFEDelaysInfo::clear
void clear()
Definition:
ODFEDelaysInfo.cc:25
ODFEDelaysInfo::fetchNextId
int fetchNextId()
Definition:
ODFEDelaysInfo.cc:37
ODFEDelaysInfo::setVersion
void setVersion(int id)
Definition:
ODFEDelaysInfo.h:23
python.multivaluedict.map
def map
Definition:
multivaluedict.py:125
ODFEDelaysInfo::prepareWrite
void prepareWrite()
Definition:
ODFEDelaysInfo.cc:60
ODFEDelaysInfo::getVersion
int getVersion() const
Definition:
ODFEDelaysInfo.h:24
ODFEDelaysInfo::setParameters
void setParameters(const std::map< std::string, std::string > &my_keys_map)
Definition:
ODFEDelaysInfo.cc:84
IODConfig
Definition:
IODConfig.h:19
query.result
tuple result
Definition:
query.py:137
compareJSON.const
string const
Definition:
compareJSON.py:14
ODFEDelaysInfo::setId
void setId(int id)
Definition:
ODFEDelaysInfo.h:18
private
#define private
Definition:
FWFileEntry.h:17
ODFEDelaysInfo
Definition:
ODFEDelaysInfo.h:9
ODFEDelaysInfo::fetchID
int fetchID()
Definition:
ODFEDelaysInfo.cc:171
IODConfig.h
ODFEDelaysInfo::writeDB
void writeDB()
Definition:
ODFEDelaysInfo.cc:99
CommPDSkim_cfg.throw
tuple throw
Definition:
CommPDSkim_cfg.py:101
Generated for CMSSW Reference Manual by
1.8.5