test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
OnlineDB
EcalCondDB
interface
FEConfigLinDat.h
Go to the documentation of this file.
1
#ifndef FECONFLINDAT_H
2
#define FECONFLINDAT_H
3
4
#include <vector>
5
#include <stdexcept>
6
7
#include "
OnlineDB/EcalCondDB/interface/IDataItem.h
"
8
#include "
OnlineDB/EcalCondDB/interface/FEConfigLinInfo.h
"
9
#include "
OnlineDB/EcalCondDB/interface/EcalLogicID.h
"
10
11
class
FEConfigLinDat
:
public
IDataItem
{
12
public
:
13
friend
class
EcalCondDBInterface
;
// XXX temp should not need
14
FEConfigLinDat
();
15
~FEConfigLinDat
();
16
17
// User data methods
18
inline
std::string
getTable
() {
return
"FE_CONFIG_LIN_DAT"
; }
19
20
inline
void
setMultX12
(
int
x
) {
m_multx12
=
x
; }
21
inline
void
setMultX6
(
int
x
) {
m_multx6
=
x
; }
22
inline
void
setMultX1
(
int
x
) {
m_multx1
=
x
; }
23
inline
void
setShift12
(
int
x
) {
m_shift12
=
x
; }
24
inline
void
setShift6
(
int
x
) {
m_shift6
=
x
; }
25
inline
void
setShift1
(
int
x
) {
m_shift1
=
x
; }
26
27
28
inline
int
getMultX12
()
const
{
return
m_multx12
; }
29
inline
int
getMultX6
()
const
{
return
m_multx6
; }
30
inline
int
getMultX1
()
const
{
return
m_multx1
; }
31
inline
int
getShift12
()
const
{
return
m_shift12
; }
32
inline
int
getShift6
()
const
{
return
m_shift6
; }
33
inline
int
getShift1
()
const
{
return
m_shift1
; }
34
35
private
:
36
void
prepareWrite
()
37
throw
(std::runtime_error);
38
39
void
writeDB
(
const
EcalLogicID
* ecid,
const
FEConfigLinDat
* item,
FEConfigLinInfo
* iconf)
40
throw
(std::runtime_error);
41
42
43
void
writeArrayDB
(
const
std::map<
EcalLogicID
,
FEConfigLinDat
>*
data
,
FEConfigLinInfo
* iconf)
44
throw
(std::runtime_error);
45
46
47
void
fetchData
(std::map< EcalLogicID,
FEConfigLinDat
>* fillMap,
FEConfigLinInfo
* iconf)
48
throw
(std::runtime_error);
49
50
// User data
51
int
m_multx12
;
52
int
m_multx6
;
53
int
m_multx1
;
54
int
m_shift12
;
55
int
m_shift6
;
56
int
m_shift1
;
57
58
59
};
60
61
#endif
FEConfigLinDat::m_multx1
int m_multx1
Definition:
FEConfigLinDat.h:53
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:38
FEConfigLinDat::m_shift1
int m_shift1
Definition:
FEConfigLinDat.h:56
FEConfigLinDat::writeArrayDB
void writeArrayDB(const std::map< EcalLogicID, FEConfigLinDat > *data, FEConfigLinInfo *iconf)
Definition:
FEConfigLinDat.cc:132
EcalLogicID
Definition:
EcalLogicID.h:7
FEConfigLinDat::setShift12
void setShift12(int x)
Definition:
FEConfigLinDat.h:23
FEConfigLinDat::m_shift6
int m_shift6
Definition:
FEConfigLinDat.h:55
FEConfigLinDat::~FEConfigLinDat
~FEConfigLinDat()
Definition:
FEConfigLinDat.cc:30
FEConfigLinDat::setMultX1
void setMultX1(int x)
Definition:
FEConfigLinDat.h:22
FEConfigLinDat::fetchData
void fetchData(std::map< EcalLogicID, FEConfigLinDat > *fillMap, FEConfigLinInfo *iconf)
Definition:
FEConfigLinDat.cc:84
FEConfigLinDat::getMultX12
int getMultX12() const
Definition:
FEConfigLinDat.h:28
FEConfigLinDat::setShift6
void setShift6(int x)
Definition:
FEConfigLinDat.h:24
FEConfigLinInfo.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
FEConfigLinDat
Definition:
FEConfigLinDat.h:11
FEConfigLinDat::setShift1
void setShift1(int x)
Definition:
FEConfigLinDat.h:25
FEConfigLinDat::getMultX1
int getMultX1() const
Definition:
FEConfigLinDat.h:30
FEConfigLinInfo
Definition:
FEConfigLinInfo.h:11
FEConfigLinDat::getShift6
int getShift6() const
Definition:
FEConfigLinDat.h:32
IDataItem
Definition:
IDataItem.h:16
FEConfigLinDat::getShift12
int getShift12() const
Definition:
FEConfigLinDat.h:31
FEConfigLinDat::getMultX6
int getMultX6() const
Definition:
FEConfigLinDat.h:29
EcalLogicID.h
FEConfigLinDat::FEConfigLinDat
FEConfigLinDat()
Definition:
FEConfigLinDat.cc:11
FEConfigLinDat::m_multx12
int m_multx12
Definition:
FEConfigLinDat.h:51
FEConfigLinDat::m_shift12
int m_shift12
Definition:
FEConfigLinDat.h:54
FEConfigLinDat::writeDB
void writeDB(const EcalLogicID *ecid, const FEConfigLinDat *item, FEConfigLinInfo *iconf)
Definition:
FEConfigLinDat.cc:54
FEConfigLinDat::setMultX6
void setMultX6(int x)
Definition:
FEConfigLinDat.h:21
IDataItem.h
compareJSON.const
string const
Definition:
compareJSON.py:14
data
char data[epos_bytes_allocation]
Definition:
EPOS_Wrapper.h:82
FEConfigLinDat::setMultX12
void setMultX12(int x)
Definition:
FEConfigLinDat.h:20
FEConfigLinDat::prepareWrite
void prepareWrite()
Definition:
FEConfigLinDat.cc:36
DDAxes::x
FEConfigLinDat::m_multx6
int m_multx6
Definition:
FEConfigLinDat.h:52
FEConfigLinDat::getShift1
int getShift1() const
Definition:
FEConfigLinDat.h:33
FEConfigLinDat::getTable
std::string getTable()
Definition:
FEConfigLinDat.h:18
CommPDSkim_cfg.throw
tuple throw
Definition:
CommPDSkim_cfg.py:101
Generated for CMSSW Reference Manual by
1.8.5