ATLAS Offline Software
AFP_SIDSimHit.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 AFP_SIDSimHit::AFP_SIDSimHit(const int& nHitID, const int& nTrackID, const int& nParticleEncoding, const float& fKineticEnergy, const float& fEnergyDeposit, const float& fPreStepX, const float& fPreStepY, const float& fPreStepZ, const float& fPostStepX, const float& fPostStepY, const float& fPostStepZ, const float& fGlobalTime, const int& nStationID, const int& nDetectorID, const bool& bIsAuxVSID, const int& nPixelRow, const int& nPixelCol)
8 {
9  m_nHitID= nHitID;
10  m_nTrackID= nTrackID;
11  m_nParticleEncoding=nParticleEncoding;
12  m_fKineticEnergy= fKineticEnergy;
13  m_fEnergyDeposit= fEnergyDeposit;
14  m_fPreStepX= fPreStepX;
15  m_fPreStepY= fPreStepY;
16  m_fPreStepZ= fPreStepZ;
17  m_fPostStepX= fPostStepX;
18  m_fPostStepY= fPostStepY;
19  m_fPostStepZ= fPostStepZ;
20  m_fGlobalTime= fGlobalTime;
21 
22  m_nStationID= nStationID;
23  m_nDetectorID= nDetectorID;
24 
25  m_nPixelRow= nPixelRow;
26  m_nPixelCol= nPixelCol;
27 
28  m_bIsAuxVSID=bIsAuxVSID;
29 }
30 
31 
32 
34 {
35  m_nHitID=-1;
36  m_nTrackID=-1;
38  m_fKineticEnergy=0.0;
39  m_fEnergyDeposit=0.0;
40  m_fPreStepX=0.0;
41  m_fPreStepY=0.0;
42  m_fPreStepZ=0.0;
43  m_fPostStepX=0.0;
44  m_fPostStepY=0.0;
45  m_fPostStepZ=0.0;
46  m_fGlobalTime=0.0;
47 
48  m_nStationID=-1;
49  m_nDetectorID=-1;
50 
51  m_nPixelRow=-1;
52  m_nPixelCol=-1;
53 
54  m_bIsAuxVSID=false;
55 }
56 
58 {
59 
60 }
AFP_SIDSimHit::m_fPreStepX
float m_fPreStepX
Definition: AFP_SIDSimHit.h:22
AFP_SIDSimHit::m_nHitID
int m_nHitID
Definition: AFP_SIDSimHit.h:17
AFP_SIDSimHit::m_fKineticEnergy
float m_fKineticEnergy
Definition: AFP_SIDSimHit.h:20
AFP_SIDSimHit::m_fPostStepY
float m_fPostStepY
Definition: AFP_SIDSimHit.h:26
AFP_SIDSimHit::m_fEnergyDeposit
float m_fEnergyDeposit
Definition: AFP_SIDSimHit.h:21
AFP_SIDSimHit::m_nStationID
int m_nStationID
Definition: AFP_SIDSimHit.h:30
AFP_SIDSimHit::m_nPixelRow
int m_nPixelRow
Definition: AFP_SIDSimHit.h:34
AFP_SIDSimHit::m_fPostStepX
float m_fPostStepX
Definition: AFP_SIDSimHit.h:25
AFP_SIDSimHit::m_fPostStepZ
float m_fPostStepZ
Definition: AFP_SIDSimHit.h:27
AFP_SIDSimHit::m_nDetectorID
int m_nDetectorID
Definition: AFP_SIDSimHit.h:31
AFP_SIDSimHit::m_fPreStepY
float m_fPreStepY
Definition: AFP_SIDSimHit.h:23
AFP_SIDSimHit::m_bIsAuxVSID
bool m_bIsAuxVSID
Definition: AFP_SIDSimHit.h:32
AFP_SIDSimHit::~AFP_SIDSimHit
virtual ~AFP_SIDSimHit()
Definition: AFP_SIDSimHit.cxx:57
AFP_SIDSimHit::m_nTrackID
int m_nTrackID
Definition: AFP_SIDSimHit.h:18
AFP_SIDSimHit::m_fPreStepZ
float m_fPreStepZ
Definition: AFP_SIDSimHit.h:24
AFP_SIDSimHit::m_fGlobalTime
float m_fGlobalTime
Definition: AFP_SIDSimHit.h:28
AFP_SIDSimHit::AFP_SIDSimHit
AFP_SIDSimHit()
Definition: AFP_SIDSimHit.cxx:33
AFP_SIDSimHit::m_nPixelCol
int m_nPixelCol
Definition: AFP_SIDSimHit.h:35
AFP_SIDSimHit::m_nParticleEncoding
int m_nParticleEncoding
Definition: AFP_SIDSimHit.h:19
AFP_SIDSimHit.h