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