ATLAS Offline Software
LUCID_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 
8 
9 void LUCID_DigitCnv_p1::persToTrans(const LUCID_Digit_p1* persObj, LUCID_Digit* transObj, MsgStream &log) const {
10 
11  log << MSG::DEBUG << " In LUCID_DigitCnv_p1::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  false);
20 }
21 
22 void LUCID_DigitCnv_p1::transToPers(const LUCID_Digit* transObj, LUCID_Digit_p1* persObj, MsgStream& log) const {
23 
24  log << MSG::DEBUG << " In LUCID_DigitCnv_p1::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 }
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_DigitCnv_p1::transToPers
virtual void transToPers(const LUCID_Digit *transObj, LUCID_Digit_p1 *persObj, MsgStream &log) const override
Definition: LUCID_DigitCnv_p1.cxx:22
LUCID_DigitCnv_p1.h
LUCID_Digit_p1.h
LUCID_Digit_p1
Definition: LUCID_Digit_p1.h:8
LUCID_Digit::getQDC
unsigned short getQDC() const
Definition: LUCID_Digit.h:25
LUCID_Digit
Definition: LUCID_Digit.h:8
LUCID_Digit_p1::m_tdc
unsigned short m_tdc
Definition: LUCID_Digit_p1.h:31
LUCID_Digit_p1::m_npeGas
unsigned short m_npeGas
Definition: LUCID_Digit_p1.h:28
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
LUCID_Digit.h
LUCID_Digit::getTubeID
unsigned short getTubeID() const
Definition: LUCID_Digit.h:21
LUCID_DigitCnv_p1::persToTrans
virtual void persToTrans(const LUCID_Digit_p1 *persObj, LUCID_Digit *transObj, MsgStream &log) const override
Definition: LUCID_DigitCnv_p1.cxx:9
LUCID_Digit_p1::m_npe
unsigned short m_npe
Definition: LUCID_Digit_p1.h:27
LUCID_Digit::getNpePmt
unsigned short getNpePmt() const
Definition: LUCID_Digit.h:24
DEBUG
#define DEBUG
Definition: page_access.h:11
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
LUCID_Digit_p1::m_qdc
unsigned short m_qdc
Definition: LUCID_Digit_p1.h:30
LUCID_Digit_p1::m_tubeID
unsigned short m_tubeID
Definition: LUCID_Digit_p1.h:26
LUCID_Digit_p1::m_npePmt
unsigned short m_npePmt
Definition: LUCID_Digit_p1.h:29