ATLAS Offline Software
ForwardDetectors
AFP
AFP_SimEv
src
AFP_TDSimHit.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
AFP_SimEv/AFP_TDSimHit.h
"
6
7
AFP_TDSimHit::AFP_TDSimHit
(
const
int
& nHitID,
const
int
& nTrackID,
const
int
& nParticleEncoding,
const
float
& fKineticEnergy,
const
float
& fEnergyDeposit,
const
float
& fWaveLength,
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
int
& nSensitiveElementID)
8
{
9
m_nHitID
= nHitID;
10
m_nTrackID
= nTrackID;
11
m_nParticleEncoding
= nParticleEncoding;
12
m_fKineticEnergy
= fKineticEnergy;
13
m_fEnergyDeposit
= fEnergyDeposit;
14
m_fWaveLength
= fWaveLength;
15
m_fPreStepX
= fPreStepX;
16
m_fPreStepY
= fPreStepY;
17
m_fPreStepZ
= fPreStepZ;
18
m_fPostStepX
= fPostStepX;
19
m_fPostStepY
= fPostStepY;
20
m_fPostStepZ
= fPostStepZ;
21
m_fGlobalTime
= fGlobalTime;
22
23
m_nStationID
= nStationID;
24
m_nDetectorID
= nDetectorID;
25
m_nSensitiveElementID
= nSensitiveElementID ;
26
}
27
28
AFP_TDSimHit::AFP_TDSimHit
( )
29
{
30
m_nHitID
=-1;
31
m_nTrackID
=-1;
32
m_nParticleEncoding
=-1;
33
m_fKineticEnergy
=0.0;
34
m_fEnergyDeposit
=0.0;
35
m_fWaveLength
=0.0;
36
m_fPreStepX
=0.0;
37
m_fPreStepY
=0.0;
38
m_fPreStepZ
=0.0;
39
m_fPostStepX
=0.0;
40
m_fPostStepY
=0.0;
41
m_fPostStepZ
=0.0;
42
m_fGlobalTime
=0.0;
43
44
m_nStationID
=-1;
45
m_nDetectorID
=-1;
46
m_nSensitiveElementID
=0;
47
}
48
49
AFP_TDSimHit::~AFP_TDSimHit
()
50
{
51
52
}
AFP_TDSimHit::m_nTrackID
int m_nTrackID
Definition:
AFP_TDSimHit.h:18
AFP_TDSimHit::m_fPreStepX
float m_fPreStepX
Definition:
AFP_TDSimHit.h:23
AFP_TDSimHit::m_fPostStepY
float m_fPostStepY
Definition:
AFP_TDSimHit.h:27
AFP_TDSimHit::m_fKineticEnergy
float m_fKineticEnergy
Definition:
AFP_TDSimHit.h:20
AFP_TDSimHit::AFP_TDSimHit
AFP_TDSimHit()
Definition:
AFP_TDSimHit.cxx:28
AFP_TDSimHit::m_fPreStepY
float m_fPreStepY
Definition:
AFP_TDSimHit.h:24
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::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_TDSimHit::m_fGlobalTime
float m_fGlobalTime
Definition:
AFP_TDSimHit.h:29
AFP_TDSimHit::m_nSensitiveElementID
int m_nSensitiveElementID
Definition:
AFP_TDSimHit.h:33
AFP_TDSimHit::~AFP_TDSimHit
virtual ~AFP_TDSimHit()
Definition:
AFP_TDSimHit.cxx:49
AFP_TDSimHit::m_nStationID
int m_nStationID
Definition:
AFP_TDSimHit.h:31
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_TDSimHit::m_fPostStepZ
float m_fPostStepZ
Definition:
AFP_TDSimHit.h:28
Generated on Thu Nov 7 2024 21:09:39 for ATLAS Offline Software by
1.8.18