ATLAS Offline Software
Loading...
Searching...
No Matches
TBPhaseCnv_p1.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
6#include "TBEvent/TBPhase.h"
7#include "Identifier/Identifier.h"
9
10
11
12void
14 TBPhase* trans, MsgStream &/*log*/) const
15{
16 *trans = TBPhase (pers->m_phase,
17 pers->m_phaseind,
18 pers->m_dTtoWAC);
19}
20
21
22void
24 TBPhase_p1* pers, MsgStream &/*log*/) const
25{
26 pers->m_phase = trans->getPhase();
27 pers->m_phaseind = trans->getPhaseind();
28 pers->m_dTtoWAC = trans->getdTtoWAC();
29}
30
virtual void persToTrans(const TBPhase_p1 *pers, TBPhase *trans, MsgStream &log) const override
virtual void transToPers(const TBPhase *trans, TBPhase_p1 *pers, MsgStream &log) const override
float m_phase
Definition TBPhase_p1.h:19
short m_phaseind
Definition TBPhase_p1.h:20
float m_dTtoWAC
Definition TBPhase_p1.h:21
float getdTtoWAC() const
Definition TBPhase.h:45
short getPhaseind() const
Definition TBPhase.h:43
float getPhase() const
Definition TBPhase.h:42