ATLAS Offline Software
ForwardDetectors
AFP
AFP_SimEv
AFP_SimEv
AFP_TDSimHit.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef AFP_TDSimHit_h
6
#define AFP_TDSimHit_h
7
8
class
AFP_TDSimHit
9
{
10
public
:
11
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);
12
AFP_TDSimHit
();
13
virtual
~AFP_TDSimHit
();
14
bool
operator <
(
const
AFP_TDSimHit
&
obj
)
const
{
return
m_nHitID
<
obj
.m_nHitID;}
15
16
public
:
//FIXME eventually these should be made private and should be accessed via get/set methods.
17
int
m_nHitID
;
// To identify the hit
18
int
m_nTrackID
;
19
int
m_nParticleEncoding
;
// PDG id
20
float
m_fKineticEnergy
;
// kin energy of the particle
21
float
m_fEnergyDeposit
;
// energy deposit by the hit
22
float
m_fWaveLength
;
// wavelength of the photon
23
float
m_fPreStepX
;
24
float
m_fPreStepY
;
25
float
m_fPreStepZ
;
26
float
m_fPostStepX
;
27
float
m_fPostStepY
;
28
float
m_fPostStepZ
;
29
float
m_fGlobalTime
;
30
31
int
m_nStationID
;
32
int
m_nDetectorID
;
33
int
m_nSensitiveElementID
;
34
};
35
36
37
inline
float
hitTime
(
const
AFP_TDSimHit
& hit)
38
{
39
return
hit.
m_fGlobalTime
;
40
}
41
42
#endif //AFP_TDSimHit_h
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::operator<
bool operator<(const AFP_TDSimHit &obj) const
Definition:
AFP_TDSimHit.h:14
hitTime
float hitTime(const AFP_TDSimHit &hit)
Definition:
AFP_TDSimHit.h:37
AFP_TDSimHit
Definition:
AFP_TDSimHit.h:9
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::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
python.PyAthena.obj
obj
Definition:
PyAthena.py:132
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 Sun Dec 22 2024 21:06:43 for ATLAS Offline Software by
1.8.18