ATLAS Offline Software
TestBeam
TBTPCnv
src
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
5
#include "
TBTPCnv/TBPhaseCnv_p1.h
"
6
#include "
TBEvent/TBPhase.h
"
7
#include "Identifier/Identifier.h"
8
#include "
TBTPCnv/TBPhase_p1.h
"
9
10
11
12
void
13
TBPhaseCnv_p1::persToTrans
(
const
TBPhase_p1
* pers,
14
TBPhase
* trans, MsgStream &
/*log*/
)
const
15
{
16
*trans =
TBPhase
(pers->
m_phase
,
17
pers->
m_phaseind
,
18
pers->
m_dTtoWAC
);
19
}
20
21
22
void
23
TBPhaseCnv_p1::transToPers
(
const
TBPhase
* trans,
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
TBPhase_p1::m_phase
float m_phase
Definition:
TBPhase_p1.h:19
TBPhaseCnv_p1::persToTrans
virtual void persToTrans(const TBPhase_p1 *pers, TBPhase *trans, MsgStream &log) const override
Definition:
TBPhaseCnv_p1.cxx:13
TBPhase::getdTtoWAC
float getdTtoWAC() const
Definition:
TBPhase.h:45
TBPhase_p1::m_phaseind
short m_phaseind
Definition:
TBPhase_p1.h:20
TBPhase_p1::m_dTtoWAC
float m_dTtoWAC
Definition:
TBPhase_p1.h:21
TBPhase_p1
Definition:
TBPhase_p1.h:15
TBPhase_p1.h
TBPhaseCnv_p1::transToPers
virtual void transToPers(const TBPhase *trans, TBPhase_p1 *pers, MsgStream &log) const override
Definition:
TBPhaseCnv_p1.cxx:23
TBPhase::getPhaseind
short getPhaseind() const
Definition:
TBPhase.h:43
TBPhase
Definition:
TBPhase.h:22
TBPhaseCnv_p1.h
TBPhase.h
TBPhase::getPhase
float getPhase() const
Definition:
TBPhase.h:42
Generated on Mon Dec 23 2024 21:19:16 for ATLAS Offline Software by
1.8.18