ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LumiBlock
LumiBlockPers
LumiBlockTPCnv
src
LumiBlockRangeCnv_p1.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_p1
7
// Author: Marjorie Shapiro <mdshapiro@lbl.gov>
9
10
#include "
LumiBlockData/LB_IOVRange.h
"
11
#include "
LumiBlockTPCnv/LumiBlockRangeCnv_p1.h
"
12
13
void
LumiBlockRangeCnv_p1::transToPers
(
const
LB_IOVRange
* trans,
LumiBlockRange_p1
* pers, MsgStream &) {
14
pers->
m_start
= (trans->
start
()).re_time();
15
pers->
m_stop
= (trans->
stop
()).re_time();
16
}
17
18
void
LumiBlockRangeCnv_p1::persToTrans
(
const
LumiBlockRange_p1
* pers,
LB_IOVRange
* trans, MsgStream &)
19
{
20
IOVTime
tstart, tstop;
21
tstart.setRETime (pers->
m_start
);
22
tstop.
setRETime
(pers->
m_stop
);
23
*trans =
LB_IOVRange
(tstart, tstop);
24
}
LB_IOVRange.h
LumiBlockRangeCnv_p1.h
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
LumiBlockRangeCnv_p1::transToPers
virtual void transToPers(const LB_IOVRange *transObj, LumiBlockRange_p1 *persObj, MsgStream &log)
Definition
LumiBlockRangeCnv_p1.cxx:13
LumiBlockRangeCnv_p1::persToTrans
virtual void persToTrans(const LumiBlockRange_p1 *persObj, LB_IOVRange *transObj, MsgStream &log)
Definition
LumiBlockRangeCnv_p1.cxx:18
LumiBlockRange_p1
Definition
LumiBlockRange_p1.h:14
LumiBlockRange_p1::m_stop
unsigned long long m_stop
Definition
LumiBlockRange_p1.h:31
LumiBlockRange_p1::m_start
unsigned long long m_start
Definition
LumiBlockRange_p1.h:30
Generated on
for ATLAS Offline Software by
1.17.0