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
()
override
;
16
17
// User data methods
18
inline
std::string
getTable
()
override
{
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
inline
int
getMultX12
()
const
{
return
m_multx12
; }
28
inline
int
getMultX6
()
const
{
return
m_multx6
; }
29
inline
int
getMultX1
()
const
{
return
m_multx1
; }
30
inline
int
getShift12
()
const
{
return
m_shift12
; }
31
inline
int
getShift6
()
const
{
return
m_shift6
; }
32
inline
int
getShift1
()
const
{
return
m_shift1
; }
33
34
private
:
35
void
prepareWrite
() noexcept(
false
) override;
36
37
void
writeDB
(
const
EcalLogicID
* ecid,
const
FEConfigLinDat
*
item
,
FEConfigLinInfo
* iconf) noexcept(
false
);
38
39
void
writeArrayDB
(
const
std
::
map
<
EcalLogicID
,
FEConfigLinDat
>*
data
,
FEConfigLinInfo
* iconf) noexcept(
false
);
40
41
void
fetchData
(
std
::
map
<
EcalLogicID
,
FEConfigLinDat
>* fillMap,
FEConfigLinInfo
* iconf) noexcept(
false
);
42
43
// User data
44
int
m_multx12
;
45
int
m_multx6
;
46
int
m_multx1
;
47
int
m_shift12
;
48
int
m_shift6
;
49
int
m_shift1
;
50
};
51
52
#endif
FEConfigLinDat::getShift6
int getShift6() const
Definition:
FEConfigLinDat.h:31
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:37
IDataItem.h
funct::false
false
Definition:
Factorize.h:29
FEConfigLinDat::setMultX12
void setMultX12(int x)
Definition:
FEConfigLinDat.h:20
FEConfigLinDat::getTable
std::string getTable() override
Definition:
FEConfigLinDat.h:18
FEConfigLinDat::getMultX1
int getMultX1() const
Definition:
FEConfigLinDat.h:29
FEConfigLinDat::setShift1
void setShift1(int x)
Definition:
FEConfigLinDat.h:25
DDAxes::x
FEConfigLinInfo
Definition:
FEConfigLinInfo.h:11
FEConfigLinDat::m_multx1
int m_multx1
Definition:
FEConfigLinDat.h:46
watchdog.const
const
Definition:
watchdog.py:83
FEConfigLinDat::m_multx12
int m_multx12
Definition:
FEConfigLinDat.h:44
FEConfigLinDat::m_shift6
int m_shift6
Definition:
FEConfigLinDat.h:48
FEConfigLinDat::setShift6
void setShift6(int x)
Definition:
FEConfigLinDat.h:24
FEConfigLinDat::setMultX6
void setMultX6(int x)
Definition:
FEConfigLinDat.h:21
FEConfigLinDat::getShift12
int getShift12() const
Definition:
FEConfigLinDat.h:30
FEConfigLinDat::writeArrayDB
void writeArrayDB(const std::map< EcalLogicID, FEConfigLinDat > *data, FEConfigLinInfo *iconf) noexcept(false)
Definition:
FEConfigLinDat.cc:120
IDataItem
Definition:
IDataItem.h:16
FEConfigLinDat::FEConfigLinDat
FEConfigLinDat()
Definition:
FEConfigLinDat.cc:11
EcalLogicID
Definition:
EcalLogicID.h:7
FEConfigLinDat::writeDB
void writeDB(const EcalLogicID *ecid, const FEConfigLinDat *item, FEConfigLinInfo *iconf) noexcept(false)
Definition:
FEConfigLinDat.cc:42
FEConfigLinDat::prepareWrite
void prepareWrite() noexcept(false) override
Definition:
FEConfigLinDat.cc:27
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
FEConfigLinInfo.h
FEConfigLinDat::getMultX12
int getMultX12() const
Definition:
FEConfigLinDat.h:27
FEConfigLinDat::m_shift12
int m_shift12
Definition:
FEConfigLinDat.h:47
FEConfigLinDat::m_shift1
int m_shift1
Definition:
FEConfigLinDat.h:49
FEConfigLinDat::setShift12
void setShift12(int x)
Definition:
FEConfigLinDat.h:23
FEConfigLinDat::getMultX6
int getMultX6() const
Definition:
FEConfigLinDat.h:28
B2GTnPMonitor_cfi.item
item
Definition:
B2GTnPMonitor_cfi.py:147
EcalLogicID.h
std
Definition:
JetResolutionObject.h:76
FEConfigLinDat::~FEConfigLinDat
~FEConfigLinDat() override
Definition:
FEConfigLinDat.cc:25
FEConfigLinDat
Definition:
FEConfigLinDat.h:11
data
char data[epos_bytes_allocation]
Definition:
EPOS_Wrapper.h:79
genParticles_cff.map
map
Definition:
genParticles_cff.py:11
FEConfigLinDat::setMultX1
void setMultX1(int x)
Definition:
FEConfigLinDat.h:22
FEConfigLinDat::getShift1
int getShift1() const
Definition:
FEConfigLinDat.h:32
FEConfigLinDat::fetchData
void fetchData(std::map< EcalLogicID, FEConfigLinDat > *fillMap, FEConfigLinInfo *iconf) noexcept(false)
Definition:
FEConfigLinDat.cc:74
FEConfigLinDat::m_multx6
int m_multx6
Definition:
FEConfigLinDat.h:45
Generated for CMSSW Reference Manual by
1.8.16