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