ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
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
TBTDCCnv_p1.h
TBTDC.h
TBTDC_p1.h
TBTDCCnv_p1::persToTrans
virtual void persToTrans(const TBTDC_p1 *pers, TBTDC *trans, MsgStream &log) const override
Definition
TBTDCCnv_p1.cxx:13
TBTDCCnv_p1::transToPers
virtual void transToPers(const TBTDC *trans, TBTDC_p1 *pers, MsgStream &log) const override
Definition
TBTDCCnv_p1.cxx:24
TBTDC_p1
Definition
TBTDC_p1.h:15
TBTDC_p1::m_tdcmin
int m_tdcmin
Definition
TBTDC_p1.h:20
TBTDC_p1::m_scale
float m_scale
Definition
TBTDC_p1.h:21
TBTDC_p1::m_phase
int m_phase
Definition
TBTDC_p1.h:22
TBTDC_p1::m_tdc
int m_tdc
Definition
TBTDC_p1.h:19
TBTDC
Definition
TBTDC.h:17
trans
TH1F * trans(TH1F *h, bool t=false)
Definition
comparitor.cxx:199
Generated on
for ATLAS Offline Software by
1.17.0