ATLAS Offline Software
AFP_TDSimHitCnv_p1.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 #include "Identifier/Identifier.h"
9 
10 void AFP_TDSimHitCnv_p1::persToTrans(const AFP_TDSimHit_p1* persObj, AFP_TDSimHit* transObj, MsgStream &log)
11 const {
12  log << MSG::DEBUG << "AFP_TDSimHitCnv_p1::persToTrans called " << endmsg;
13 
14  transObj->m_nHitID=persObj->m_nHitID;
15  transObj->m_nTrackID=persObj->m_nTrackID;
16  transObj->m_nParticleEncoding=persObj->m_nParticleEncoding;
17  transObj->m_fKineticEnergy=persObj->m_fKineticEnergy;
18  transObj->m_fEnergyDeposit=persObj->m_fEnergyDeposit;
19  transObj->m_fWaveLength=persObj->m_fWaveLength;
20  transObj->m_fPreStepX=persObj->m_fPreStepX;
21  transObj->m_fPreStepY=persObj->m_fPreStepY;
22  transObj->m_fPreStepZ=persObj->m_fPreStepZ;
23  transObj->m_fPostStepX=persObj->m_fPostStepX;
24  transObj->m_fPostStepY=persObj->m_fPostStepY;
25  transObj->m_fPostStepZ=persObj->m_fPostStepZ;
26  transObj->m_fGlobalTime=persObj->m_fGlobalTime;
27 
28  transObj->m_nStationID=persObj->m_nStationID;
29  transObj->m_nDetectorID=persObj->m_nDetectorID;
31 }
32 
33 void AFP_TDSimHitCnv_p1::transToPers(const AFP_TDSimHit* transObj, AFP_TDSimHit_p1* persObj, MsgStream &log)
34 const {
35  log << MSG::DEBUG << "AFP_TDSimHitCnv_p1::transToPers called " << endmsg;
36 
37  persObj->m_nHitID=transObj->m_nHitID;
38  persObj->m_nTrackID=transObj->m_nTrackID;
39  persObj->m_nParticleEncoding=transObj->m_nParticleEncoding;
40  persObj->m_fKineticEnergy=transObj->m_fKineticEnergy;
41  persObj->m_fEnergyDeposit=transObj->m_fEnergyDeposit;
42  persObj->m_fWaveLength=transObj->m_fWaveLength;
43  persObj->m_fPreStepX=transObj->m_fPreStepX;
44  persObj->m_fPreStepY=transObj->m_fPreStepY;
45  persObj->m_fPreStepZ=transObj->m_fPreStepZ;
46  persObj->m_fPostStepX=transObj->m_fPostStepX;
47  persObj->m_fPostStepY=transObj->m_fPostStepY;
48  persObj->m_fPostStepZ=transObj->m_fPostStepZ;
49  persObj->m_fGlobalTime=transObj->m_fGlobalTime;
50 
51  persObj->m_nStationID=transObj->m_nStationID;
52  persObj->m_nDetectorID=transObj->m_nDetectorID;
54  }
AFP_TDSimHit::m_nTrackID
int m_nTrackID
Definition: AFP_TDSimHit.h:18
AFP_TDSimHitCnv_p1.h
AFP_TDSimHit_p1::m_fPostStepZ
float m_fPostStepZ
Definition: AFP_TDSimHit_p1.h:30
AFP_TDSimHit_p1::m_nStationID
int m_nStationID
Definition: AFP_TDSimHit_p1.h:33
AFP_TDSimHit::m_fPreStepX
float m_fPreStepX
Definition: AFP_TDSimHit.h:23
AFP_TDSimHit_p1
Definition: AFP_TDSimHit_p1.h:11
AFP_TDSimHit::m_fPostStepY
float m_fPostStepY
Definition: AFP_TDSimHit.h:27
AFP_TDSimHit_p1::m_nTrackID
int m_nTrackID
Definition: AFP_TDSimHit_p1.h:20
AFP_TDSimHit_p1::m_fPreStepZ
float m_fPreStepZ
Definition: AFP_TDSimHit_p1.h:27
AFP_TDSimHit::m_fKineticEnergy
float m_fKineticEnergy
Definition: AFP_TDSimHit.h:20
AFP_TDSimHit::m_fPreStepY
float m_fPreStepY
Definition: AFP_TDSimHit.h:24
AFP_TDSimHit
Definition: AFP_TDSimHit.h:9
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
AFP_TDSimHit_p1::m_nParticleEncoding
int m_nParticleEncoding
Definition: AFP_TDSimHit_p1.h:21
AFP_TDSimHit_p1::m_nDetectorID
int m_nDetectorID
Definition: AFP_TDSimHit_p1.h:34
AFP_TDSimHit_p1::m_fPreStepX
float m_fPreStepX
Definition: AFP_TDSimHit_p1.h:25
AFP_TDSimHit::m_nParticleEncoding
int m_nParticleEncoding
Definition: AFP_TDSimHit.h:19
AFP_TDSimHit::m_nDetectorID
int m_nDetectorID
Definition: AFP_TDSimHit.h:32
AFP_TDSimHit_p1::m_fEnergyDeposit
float m_fEnergyDeposit
Definition: AFP_TDSimHit_p1.h:23
AFP_TDSimHit::m_fEnergyDeposit
float m_fEnergyDeposit
Definition: AFP_TDSimHit.h:21
AFP_TDSimHit.h
AFP_TDSimHit::m_nHitID
int m_nHitID
Definition: AFP_TDSimHit.h:17
AFP_TDSimHit::m_fPreStepZ
float m_fPreStepZ
Definition: AFP_TDSimHit.h:25
AFP_TDSimHitCnv_p1::persToTrans
virtual void persToTrans(const AFP_TDSimHit_p1 *persObj, AFP_TDSimHit *transObj, MsgStream &log) const override
Definition: AFP_TDSimHitCnv_p1.cxx:10
AFP_TDSimHit_p1::m_fPostStepX
float m_fPostStepX
Definition: AFP_TDSimHit_p1.h:28
AFP_TDSimHit_p1::m_fWaveLength
float m_fWaveLength
Definition: AFP_TDSimHit_p1.h:24
AFP_TDSimHit::m_fGlobalTime
float m_fGlobalTime
Definition: AFP_TDSimHit.h:29
AFP_TDSimHit_p1::m_fGlobalTime
float m_fGlobalTime
Definition: AFP_TDSimHit_p1.h:31
AFP_TDSimHit::m_nSensitiveElementID
int m_nSensitiveElementID
Definition: AFP_TDSimHit.h:33
AFP_TDSimHit_p1::m_nSensitiveElementID
int m_nSensitiveElementID
Definition: AFP_TDSimHit_p1.h:35
DEBUG
#define DEBUG
Definition: page_access.h:11
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
AFP_TDSimHit_p1::m_fKineticEnergy
float m_fKineticEnergy
Definition: AFP_TDSimHit_p1.h:22
AFP_TDSimHit_p1::m_nHitID
int m_nHitID
Definition: AFP_TDSimHit_p1.h:19
AFP_TDSimHit_p1::m_fPreStepY
float m_fPreStepY
Definition: AFP_TDSimHit_p1.h:26
AFP_TDSimHit::m_nStationID
int m_nStationID
Definition: AFP_TDSimHit.h:31
AFP_TDSimHit_p1::m_fPostStepY
float m_fPostStepY
Definition: AFP_TDSimHit_p1.h:29
AFP_TDSimHit::m_fPostStepX
float m_fPostStepX
Definition: AFP_TDSimHit.h:26
AFP_TDSimHit::m_fWaveLength
float m_fWaveLength
Definition: AFP_TDSimHit.h:22
AFP_TDSimHitCnv_p1::transToPers
virtual void transToPers(const AFP_TDSimHit *transObj, AFP_TDSimHit_p1 *persObj, MsgStream &log) const override
Definition: AFP_TDSimHitCnv_p1.cxx:33
AFP_TDSimHit::m_fPostStepZ
float m_fPostStepZ
Definition: AFP_TDSimHit.h:28