ATLAS Offline Software
ForwardDetectors
LUCID
LUCID_Cnv
LUCID_EventTPCnv
src
LUCID_DigitCnv_p2.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 "
LUCID_RawEvent/LUCID_Digit.h
"
6
#include "
LUCID_EventTPCnv/LUCID_Digit_p2.h
"
7
#include "
LUCID_EventTPCnv/LUCID_DigitCnv_p2.h
"
8
9
void
LUCID_DigitCnv_p2::persToTrans
(
const
LUCID_Digit_p2
* persObj,
LUCID_Digit
* transObj, MsgStream &
log
)
const
{
10
11
log
<<
MSG::DEBUG
<<
" In LUCID_DigitCnv_p2::persToTrans "
<<
endmsg
;
12
13
*transObj =
LUCID_Digit
(persObj->
m_tubeID
,
14
persObj->
m_npe
,
15
persObj->
m_npeGas
,
16
persObj->
m_npePmt
,
17
persObj->
m_qdc
,
18
persObj->
m_tdc
,
19
persObj->
m_isHit
);
20
}
21
22
void
LUCID_DigitCnv_p2::transToPers
(
const
LUCID_Digit
* transObj,
LUCID_Digit_p2
* persObj, MsgStream&
log
)
const
{
23
24
log
<<
MSG::DEBUG
<<
" In LUCID_DigitCnv_p2::transToPers "
<<
endmsg
;
25
26
persObj->
m_tubeID
= transObj->
getTubeID
();
27
persObj->
m_npe
= transObj->
getNpe
();
28
persObj->
m_npeGas
= transObj->
getNpeGas
();
29
persObj->
m_npePmt
= transObj->
getNpePmt
();
30
persObj->
m_qdc
= transObj->
getQDC
();
31
persObj->
m_tdc
= transObj->
getTDC
();
32
persObj->
m_isHit
= transObj->
isHit
();
33
}
LUCID_Digit::getNpe
double getNpe() const
Definition:
LUCID_Digit.h:22
LUCID_Digit::getNpeGas
unsigned short getNpeGas() const
Definition:
LUCID_Digit.h:23
LUCID_Digit::getTDC
unsigned short getTDC() const
Definition:
LUCID_Digit.h:26
LUCID_Digit_p2::m_tubeID
unsigned short m_tubeID
Definition:
LUCID_Digit_p2.h:27
LUCID_DigitCnv_p2.h
LUCID_Digit_p2.h
LUCID_Digit::getQDC
unsigned short getQDC() const
Definition:
LUCID_Digit.h:25
LUCID_Digit
Definition:
LUCID_Digit.h:8
LUCID_Digit_p2::m_tdc
unsigned short m_tdc
Definition:
LUCID_Digit_p2.h:32
LUCID_Digit_p2::m_isHit
bool m_isHit
Definition:
LUCID_Digit_p2.h:33
endmsg
#define endmsg
Definition:
AnalysisConfig_Ntuple.cxx:63
LUCID_Digit_p2
Definition:
LUCID_Digit_p2.h:8
LUCID_Digit.h
LUCID_Digit_p2::m_npe
double m_npe
Definition:
LUCID_Digit_p2.h:28
LUCID_Digit_p2::m_npeGas
unsigned short m_npeGas
Definition:
LUCID_Digit_p2.h:29
LUCID_DigitCnv_p2::transToPers
virtual void transToPers(const LUCID_Digit *transObj, LUCID_Digit_p2 *persObj, MsgStream &log) const override
Definition:
LUCID_DigitCnv_p2.cxx:22
LUCID_Digit::getTubeID
unsigned short getTubeID() const
Definition:
LUCID_Digit.h:21
LUCID_Digit::isHit
bool isHit() const
Definition:
LUCID_Digit.h:27
LUCID_Digit::getNpePmt
unsigned short getNpePmt() const
Definition:
LUCID_Digit.h:24
LUCID_Digit_p2::m_npePmt
unsigned short m_npePmt
Definition:
LUCID_Digit_p2.h:30
LUCID_Digit_p2::m_qdc
unsigned short m_qdc
Definition:
LUCID_Digit_p2.h:31
DEBUG
#define DEBUG
Definition:
page_access.h:11
python.CaloCondTools.log
log
Definition:
CaloCondTools.py:20
LUCID_DigitCnv_p2::persToTrans
virtual void persToTrans(const LUCID_Digit_p2 *persObj, LUCID_Digit *transObj, MsgStream &log) const override
Definition:
LUCID_DigitCnv_p2.cxx:9
Generated on Mon Dec 23 2024 21:14:01 for ATLAS Offline Software by
1.8.18