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