ATLAS Offline Software
Loading...
Searching...
No Matches
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
12
13void 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
19{
20 IOVTime tstart, tstop;
21 tstart.setRETime (pers->m_start);
22 tstop.setRETime (pers->m_stop);
23 *trans = LB_IOVRange (tstart, tstop);
24}
const IOVTime & stop() const
Definition IOVRange.h:39
const IOVTime & start() const
Definition IOVRange.h:38
Basic time unit for IOVSvc.
Definition IOVTime.h:33
void setRETime(uint64_t time) noexcept
Definition IOVTime.cxx:84
virtual void transToPers(const LB_IOVRange *transObj, LumiBlockRange_p1 *persObj, MsgStream &log)
virtual void persToTrans(const LumiBlockRange_p1 *persObj, LB_IOVRange *transObj, MsgStream &log)
unsigned long long m_stop
unsigned long long m_start