ATLAS Offline Software
TestBeam
TBTPCnv
src
TBTDCCnv_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/TBTDCCnv_p1.h
"
6
#include "
TBEvent/TBTDC.h
"
7
#include "Identifier/Identifier.h"
8
#include "
TBTPCnv/TBTDC_p1.h
"
9
10
11
12
void
13
TBTDCCnv_p1::persToTrans
(
const
TBTDC_p1
* pers,
14
TBTDC
* trans, MsgStream &
/*log*/
)
const
15
{
16
*trans =
TBTDC
(pers->
m_tdc
,
17
pers->
m_tdcmin
,
18
pers->
m_scale
,
19
pers->
m_phase
);
20
}
21
22
23
void
24
TBTDCCnv_p1::transToPers
(
const
TBTDC
* trans,
25
TBTDC_p1
* pers, MsgStream &
/*log*/
)
const
26
{
27
pers->
m_tdc
= trans->
tdc
();
28
pers->
m_tdcmin
= trans->
tdcmin
();
29
pers->
m_scale
= trans->
scale
();
30
pers->
m_phase
= trans->
phase
();
31
}
32
TBTDC::scale
float scale() const
Definition:
TBTDC.h:34
TBTDC_p1.h
TBTDC.h
TBTDC::phase
int phase() const
Definition:
TBTDC.h:25
TBTDC::tdc
int tdc() const
Definition:
TBTDC.h:28
TBTDCCnv_p1::persToTrans
virtual void persToTrans(const TBTDC_p1 *pers, TBTDC *trans, MsgStream &log) const override
Definition:
TBTDCCnv_p1.cxx:13
TBTDC_p1::m_phase
int m_phase
Definition:
TBTDC_p1.h:22
TBTDCCnv_p1.h
TBTDC_p1
Definition:
TBTDC_p1.h:15
TBTDC
Definition:
TBTDC.h:17
TBTDC_p1::m_scale
float m_scale
Definition:
TBTDC_p1.h:21
TBTDC_p1::m_tdc
int m_tdc
Definition:
TBTDC_p1.h:19
TBTDC::tdcmin
int tdcmin() const
Definition:
TBTDC.h:31
TBTDC_p1::m_tdcmin
int m_tdcmin
Definition:
TBTDC_p1.h:20
TBTDCCnv_p1::transToPers
virtual void transToPers(const TBTDC *trans, TBTDC_p1 *pers, MsgStream &log) const override
Definition:
TBTDCCnv_p1.cxx:24
Generated on Tue Jul 2 2024 21:28:00 for ATLAS Offline Software by
1.8.18