ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LumiBlock
LumiBlockPers
LumiBlockTPCnv
src
LumiBlockRangeCnv_p2.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// Header file for class LumiBlockRangeCnv_p2
7
// Author: Marjorie Shapiro <mdshapiro@lbl.gov>
9
10
#include "
LumiBlockData/LB_IOVRange.h
"
11
12
#include "
LumiBlockTPCnv/LumiBlockRangeCnv_p2.h
"
13
14
void
LumiBlockRangeCnv_p2::transToPers
(
const
LB_IOVRange
* trans,
LumiBlockRange_p2
* pers, MsgStream &) {
15
pers->
m_start
= (trans->
start
()).re_time();
16
pers->
m_stop
= (trans->
stop
()).re_time();
17
pers->
m_NumExpected
= trans->
getNumExpected
();
18
pers->
m_NumSeen
= trans->
getNumSeen
();
19
}
20
21
void
LumiBlockRangeCnv_p2::persToTrans
(
const
LumiBlockRange_p2
* pers,
LB_IOVRange
* trans, MsgStream &)
22
{
23
IOVTime
tstart, tstop;
24
tstart.setRETime (pers->
m_start
);
25
tstop.
setRETime
(pers->
m_stop
);
26
*trans =
LB_IOVRange
(
IOVRange
(tstart, tstop),
27
pers->
m_NumExpected
,
28
pers->
m_NumSeen
);
29
}
LB_IOVRange.h
LumiBlockRangeCnv_p2.h
IOVRange
Validity Range object.
Definition
IOVRange.h:30
IOVRange::stop
const IOVTime & stop() const
Definition
IOVRange.h:39
IOVRange::start
const IOVTime & start() const
Definition
IOVRange.h:38
IOVTime
Basic time unit for IOVSvc.
Definition
IOVTime.h:33
IOVTime::setRETime
void setRETime(uint64_t time) noexcept
Definition
IOVTime.cxx:84
LB_IOVRange
Definition
LB_IOVRange.h:16
LB_IOVRange::getNumExpected
uint32_t getNumExpected() const
Definition
LB_IOVRange.h:24
LB_IOVRange::getNumSeen
uint32_t getNumSeen() const
Definition
LB_IOVRange.h:25
LumiBlockRangeCnv_p2::transToPers
virtual void transToPers(const LB_IOVRange *transObj, LumiBlockRange_p2 *persObj, MsgStream &log)
Definition
LumiBlockRangeCnv_p2.cxx:14
LumiBlockRangeCnv_p2::persToTrans
virtual void persToTrans(const LumiBlockRange_p2 *persObj, LB_IOVRange *transObj, MsgStream &log)
Definition
LumiBlockRangeCnv_p2.cxx:21
LumiBlockRange_p2
Definition
LumiBlockRange_p2.h:14
LumiBlockRange_p2::m_start
unsigned long long m_start
Definition
LumiBlockRange_p2.h:30
LumiBlockRange_p2::m_NumSeen
unsigned int m_NumSeen
Definition
LumiBlockRange_p2.h:33
LumiBlockRange_p2::m_NumExpected
unsigned int m_NumExpected
Definition
LumiBlockRange_p2.h:32
LumiBlockRange_p2::m_stop
unsigned long long m_stop
Definition
LumiBlockRange_p2.h:31
Generated on
for ATLAS Offline Software by
1.17.0