OnlineDB
EcalCondDB
interface
ODDCUConfig.h
Go to the documentation of this file.
1
#ifndef ODDCUCONFIG_H
2
#define ODDCUCONFIG_H
3
4
#include <map>
5
#include <stdexcept>
6
#include "
OnlineDB/Oracle/interface/Oracle.h
"
7
#include "
OnlineDB/EcalCondDB/interface/IODConfig.h
"
8
#define USE_NORM 1
9
#define USE_CHUN 2
10
#define USE_BUFF 3
11
12
/* Buffer Size */
13
#define BUFSIZE 200;
14
15
class
ODDCUConfig
:
public
IODConfig
{
16
public
:
17
friend
class
EcalCondDBInterface
;
18
ODDCUConfig
();
19
~ODDCUConfig
()
override
;
20
21
// User data methods
22
inline
std::string
getTable
()
override
{
return
"ECAL_DCU_CONFIGURATION"
; }
23
24
inline
void
setId
(
int
id
) {
m_ID
=
id
; }
25
inline
int
getId
()
const
{
return
m_ID
; }
26
27
void
setParameters
(
const
std::map<std::string, std::string>& my_keys_map);
28
29
private
:
30
void
prepareWrite
() noexcept(
false
) override;
31
void
writeDB
() noexcept(
false
);
32
void
clear
();
33
void
fetchData
(
ODDCUConfig
*
result
) noexcept(
false
);
34
int
fetchID
() noexcept(
false
);
35
36
int
fetchNextId
() noexcept(
false
);
37
38
// User data
39
int
m_ID
;
40
};
41
42
#endif
ODDCUConfig::setParameters
void setParameters(const std::map< std::string, std::string > &my_keys_map)
Definition:
ODDCUConfig.cc:24
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:37
ODDCUConfig::getTable
std::string getTable() override
Definition:
ODDCUConfig.h:22
ODDCUConfig::setId
void setId(int id)
Definition:
ODDCUConfig.h:24
funct::false
false
Definition:
Factorize.h:29
ODDCUConfig::prepareWrite
void prepareWrite() noexcept(false) override
Definition:
ODDCUConfig.cc:53
IODConfig.h
ODDCUConfig::fetchData
void fetchData(ODDCUConfig *result) noexcept(false)
Definition:
ODDCUConfig.cc:89
ODDCUConfig::~ODDCUConfig
~ODDCUConfig() override
Definition:
ODDCUConfig.cc:22
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
ODDCUConfig::clear
void clear()
Definition:
ODDCUConfig.cc:20
ODDCUConfig::ODDCUConfig
ODDCUConfig()
Definition:
ODDCUConfig.cc:10
ODDCUConfig
Definition:
ODDCUConfig.h:15
IODConfig
Definition:
IODConfig.h:18
ODDCUConfig::writeDB
void writeDB() noexcept(false)
Definition:
ODDCUConfig.cc:71
ODDCUConfig::m_ID
int m_ID
Definition:
ODDCUConfig.h:39
ODDCUConfig::getId
int getId() const
Definition:
ODDCUConfig.h:25
ODDCUConfig::fetchID
int fetchID() noexcept(false)
Definition:
ODDCUConfig.cc:115
triggerObjects_cff.id
id
Definition:
triggerObjects_cff.py:29
Oracle.h
mps_fire.result
result
Definition:
mps_fire.py:311
ODDCUConfig::fetchNextId
int fetchNextId() noexcept(false)
Definition:
ODDCUConfig.cc:34
Generated for CMSSW Reference Manual by
1.8.16