ATLAS Offline Software
ForwardDetectors
ALFA
ALFA_EventCnv
ALFA_EventTPCnv
src
ALFA_DigitCnv_p1.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
ALFA_RawEv/ALFA_Digit.h
"
6
#include "
ALFA_EventTPCnv/ALFA_Digit_p1.h
"
7
#include "
ALFA_EventTPCnv/ALFA_DigitCnv_p1.h
"
8
9
void
ALFA_DigitCnv_p1::persToTrans
(
const
ALFA_Digit_p1
* persObj,
ALFA_Digit
* transObj, MsgStream &
log
)
const
10
{
11
log
<<
MSG::DEBUG
<<
"ALFA_DigitCnv_p1::persToTrans called "
<<
endmsg
;
12
13
*transObj =
ALFA_Digit
(persObj->
m_station
,
14
persObj->
m_plate
,
15
persObj->
m_fiber
);
16
}
17
18
19
void
ALFA_DigitCnv_p1::transToPers
(
const
ALFA_Digit
* transObj,
20
ALFA_Digit_p1
* persObj,
21
MsgStream &
log
)
const
22
{
23
log
<<
MSG::DEBUG
<<
"ALFA_DigitCnv_p1::transToPers called "
<<
endmsg
;
24
persObj->
m_plate
= transObj->
getPlate
();
25
persObj->
m_fiber
= transObj->
getFiber
();
26
persObj->
m_station
= transObj->
getStation
();
27
28
}
ALFA_Digit_p1.h
ALFA_Digit_p1
Definition:
ALFA_Digit_p1.h:12
ALFA_Digit_p1::m_station
unsigned short m_station
Definition:
ALFA_Digit_p1.h:25
ALFA_Digit_p1::m_fiber
unsigned short m_fiber
Definition:
ALFA_Digit_p1.h:27
ALFA_Digit::getPlate
unsigned short getPlate() const
Definition:
ALFA_Digit.h:16
ALFA_DigitCnv_p1.h
ALFA_Digit
Definition:
ALFA_Digit.h:8
endmsg
#define endmsg
Definition:
AnalysisConfig_Ntuple.cxx:63
ALFA_DigitCnv_p1::persToTrans
virtual void persToTrans(const ALFA_Digit_p1 *persObj, ALFA_Digit *transObj, MsgStream &log) const override
Definition:
ALFA_DigitCnv_p1.cxx:9
ALFA_Digit::getFiber
unsigned short getFiber() const
Definition:
ALFA_Digit.h:17
DEBUG
#define DEBUG
Definition:
page_access.h:11
python.CaloCondTools.log
log
Definition:
CaloCondTools.py:20
ALFA_Digit_p1::m_plate
unsigned short m_plate
Definition:
ALFA_Digit_p1.h:26
ALFA_Digit::getStation
unsigned short getStation() const
Definition:
ALFA_Digit.h:15
ALFA_Digit.h
ALFA_DigitCnv_p1::transToPers
virtual void transToPers(const ALFA_Digit *transObj, ALFA_Digit_p1 *persObj, MsgStream &log) const override
Definition:
ALFA_DigitCnv_p1.cxx:19
Generated on Sun Dec 22 2024 21:06:46 for ATLAS Offline Software by
1.8.18