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