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