ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
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
TBPhaseCnv_p1.h
TBPhase.h
TBPhase_p1.h
TBPhaseCnv_p1::persToTrans
virtual void persToTrans(const TBPhase_p1 *pers, TBPhase *trans, MsgStream &log) const override
Definition
TBPhaseCnv_p1.cxx:13
TBPhaseCnv_p1::transToPers
virtual void transToPers(const TBPhase *trans, TBPhase_p1 *pers, MsgStream &log) const override
Definition
TBPhaseCnv_p1.cxx:23
TBPhase_p1
Definition
TBPhase_p1.h:15
TBPhase_p1::m_phase
float m_phase
Definition
TBPhase_p1.h:19
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
Definition
TBPhase.h:22
trans
TH1F * trans(TH1F *h, bool t=false)
Definition
comparitor.cxx:199
Generated on
for ATLAS Offline Software by
1.17.0