Main Page
Namespaces
Classes
Package Documentation
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
()
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
(
ODTowersToByPassInfo
*
result
)
noexcept
(
false
);
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
mps_fire.result
result
Definition:
mps_fire.py:226
ODTowersToByPassInfo::prepareWrite
void prepareWrite() noexcept(false)
Definition:
ODTowersToByPassInfo.cc:58
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
noexcept
#define noexcept
ODTowersToByPassInfo::getTable
std::string getTable()
Definition:
ODTowersToByPassInfo.h:16
ODTowersToByPassInfo::ODTowersToByPassInfo
ODTowersToByPassInfo()
Definition:
ODTowersToByPassInfo.cc:11
ODTowersToByPassInfo::getVersion
int getVersion() const
Definition:
ODTowersToByPassInfo.h:24
ODTowersToByPassInfo
Definition:
ODTowersToByPassInfo.h:9
ODTowersToByPassInfo::fetchNextId
int fetchNextId() noexcept(false)
Definition:
ODTowersToByPassInfo.cc:36
triggerObjects_cff.id
id
Definition:
triggerObjects_cff.py:28
ODTowersToByPassInfo::writeDB
void writeDB() noexcept(false)
Definition:
ODTowersToByPassInfo.cc:97
IODConfig
Definition:
IODConfig.h:19
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::fetchData
void fetchData(ODTowersToByPassInfo *result) noexcept(false)
Definition:
ODTowersToByPassInfo.cc:130
ODTowersToByPassInfo::clear
void clear()
Definition:
ODTowersToByPassInfo.cc:24
ODTowersToByPassInfo::setVersion
void setVersion(int id)
Definition:
ODTowersToByPassInfo.h:23
IODConfig.h
ODTowersToByPassInfo::fetchID
int fetchID() noexcept(false)
Definition:
ODTowersToByPassInfo.cc:183
ODTowersToByPassInfo::setId
void setId(int id)
Definition:
ODTowersToByPassInfo.h:18
Generated for CMSSW Reference Manual by
1.8.11