OnlineDB
EcalCondDB
interface
ODDelaysDat.h
Go to the documentation of this file.
1
#ifndef ODDELAYSDAT_H
2
#define ODDELAYSDAT_H
3
4
#include <vector>
5
#include <stdexcept>
6
7
#include "
OnlineDB/EcalCondDB/interface/IODConfig.h
"
8
#include "
OnlineDB/EcalCondDB/interface/ODFEDelaysInfo.h
"
9
10
class
ODDelaysDat
:
public
IODConfig
{
11
public
:
12
friend
class
EcalCondDBInterface
;
13
ODDelaysDat
();
14
~ODDelaysDat
()
override
;
15
16
// User data methods
17
inline
std::string
getTable
()
override
{
return
"DELAYS_DAT"
; }
18
19
inline
void
setId
(
int
dac) {
m_ID
= dac; }
20
inline
int
getId
()
const
{
return
m_ID
; }
21
22
inline
void
setSMId
(
int
dac) {
m_sm
= dac; }
23
inline
int
getSMId
()
const
{
return
m_sm
; }
24
25
inline
void
setFedId
(
int
dac) {
m_fed
= dac; }
26
inline
int
getFedId
()
const
{
return
m_fed
; }
27
28
inline
void
setTTId
(
int
dac) {
m_tt
= dac; }
29
inline
int
getTTId
()
const
{
return
m_tt
; }
30
31
inline
void
setTimeOffset
(
int
dac) {
m_t1
= dac; }
32
inline
int
getTimeOffset
()
const
{
return
m_t1
; }
33
34
private
:
35
void
prepareWrite
() noexcept(
false
) override;
36
37
void
writeDB
(
const
ODDelaysDat
*
item
,
ODFEDelaysInfo
* iov) noexcept(
false
);
38
39
void
writeArrayDB
(
const
std
::
vector
<
ODDelaysDat
>&
data
,
ODFEDelaysInfo
* iov) noexcept(
false
);
40
41
void
fetchData
(
std
::
vector
<
ODDelaysDat
>* fillMap,
int
id
) noexcept(
false
);
42
void
fetchData
(
std
::
vector
<
ODDelaysDat
>* fillMap,
ODFEDelaysInfo
* iov) noexcept(
false
);
43
44
// User data
45
int
m_sm
;
46
int
m_fed
;
47
int
m_tt
;
48
int
m_t1
;
49
int
m_ID
;
50
};
51
52
#endif
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:37
ODDelaysDat::setId
void setId(int dac)
Definition:
ODDelaysDat.h:19
ODDelaysDat::ODDelaysDat
ODDelaysDat()
Definition:
ODDelaysDat.cc:10
funct::false
false
Definition:
Factorize.h:29
ODDelaysDat::m_fed
int m_fed
Definition:
ODDelaysDat.h:46
IODConfig.h
ODDelaysDat::~ODDelaysDat
~ODDelaysDat() override
Definition:
ODDelaysDat.cc:22
ODDelaysDat::m_ID
int m_ID
Definition:
ODDelaysDat.h:49
ODDelaysDat::setFedId
void setFedId(int dac)
Definition:
ODDelaysDat.h:25
watchdog.const
const
Definition:
watchdog.py:83
ODFEDelaysInfo
Definition:
ODFEDelaysInfo.h:9
ODDelaysDat::getTimeOffset
int getTimeOffset() const
Definition:
ODDelaysDat.h:32
ODDelaysDat::m_t1
int m_t1
Definition:
ODDelaysDat.h:48
ODDelaysDat::m_sm
int m_sm
Definition:
ODDelaysDat.h:45
ODDelaysDat::m_tt
int m_tt
Definition:
ODDelaysDat.h:47
ODDelaysDat::getSMId
int getSMId() const
Definition:
ODDelaysDat.h:23
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
ODDelaysDat::fetchData
void fetchData(std::vector< ODDelaysDat > *fillMap, int id) noexcept(false)
Definition:
ODDelaysDat.cc:59
ODDelaysDat::getTable
std::string getTable() override
Definition:
ODDelaysDat.h:17
ODDelaysDat::getId
int getId() const
Definition:
ODDelaysDat.h:20
IODConfig
Definition:
IODConfig.h:18
trackerHitRTTI::vector
Definition:
trackerHitRTTI.h:21
B2GTnPMonitor_cfi.item
item
Definition:
B2GTnPMonitor_cfi.py:147
ODDelaysDat
Definition:
ODDelaysDat.h:10
std
Definition:
JetResolutionObject.h:76
ODDelaysDat::prepareWrite
void prepareWrite() noexcept(false) override
Definition:
ODDelaysDat.cc:24
ODDelaysDat::writeDB
void writeDB(const ODDelaysDat *item, ODFEDelaysInfo *iov) noexcept(false)
Definition:
ODDelaysDat.cc:37
ODFEDelaysInfo.h
ODDelaysDat::getFedId
int getFedId() const
Definition:
ODDelaysDat.h:26
data
char data[epos_bytes_allocation]
Definition:
EPOS_Wrapper.h:79
ODDelaysDat::getTTId
int getTTId() const
Definition:
ODDelaysDat.h:29
ODDelaysDat::setTimeOffset
void setTimeOffset(int dac)
Definition:
ODDelaysDat.h:31
ODDelaysDat::writeArrayDB
void writeArrayDB(const std::vector< ODDelaysDat > &data, ODFEDelaysInfo *iov) noexcept(false)
Definition:
ODDelaysDat.cc:91
ODDelaysDat::setSMId
void setSMId(int dac)
Definition:
ODDelaysDat.h:22
ODDelaysDat::setTTId
void setTTId(int dac)
Definition:
ODDelaysDat.h:28
Generated for CMSSW Reference Manual by
1.8.16