ATLAS Offline Software
ForwardDetectors
AFP
AFP_SimEv
AFP_SimEv
AFP_SIDSimHit.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_SIDSimHit_h
6
#define AFP_SIDSimHit_h
7
8
class
AFP_SIDSimHit
9
{
10
public
:
11
AFP_SIDSimHit
(
const
int
&
m_nHitID
,
const
int
&
m_nTrackID
,
const
int
&
m_nParticleEncoding
,
const
float
&
m_fKineticEnergy
,
const
float
&
m_fEnergyDeposit
,
const
float
&
m_fPreStepX
,
const
float
&
m_fPreStepY
,
const
float
&
m_fPreStepZ
,
const
float
&
m_fPostStepX
,
const
float
&
m_fPostStepY
,
const
float
&
m_fPostStepZ
,
const
float
&
m_fGlobalTime
,
const
int
&
m_nStationID
,
const
int
&
m_nDetectorID
,
const
bool
&
m_bIsAuxVSID
,
const
int
&
m_nPixelRow
,
const
int
&
m_nPixelCol
);
12
AFP_SIDSimHit
();
13
virtual
~AFP_SIDSimHit
();
14
bool
operator <
(
const
AFP_SIDSimHit
&
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_fPreStepX
;
23
float
m_fPreStepY
;
24
float
m_fPreStepZ
;
25
float
m_fPostStepX
;
26
float
m_fPostStepY
;
27
float
m_fPostStepZ
;
28
float
m_fGlobalTime
;
29
30
int
m_nStationID
;
31
int
m_nDetectorID
;
32
bool
m_bIsAuxVSID
;
33
34
int
m_nPixelRow
;
35
int
m_nPixelCol
;
36
};
37
38
39
inline
float
hitTime
(
const
AFP_SIDSimHit
& hit)
40
{
41
return
hit.
m_fGlobalTime
;
42
}
43
44
#endif //AFP_SIDSimHit_h
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
Definition:
AFP_SIDSimHit.h:9
AFP_SIDSimHit::operator<
bool operator<(const AFP_SIDSimHit &obj) const
Definition:
AFP_SIDSimHit.h:14
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
hitTime
float hitTime(const AFP_SIDSimHit &hit)
Definition:
AFP_SIDSimHit.h:39
AFP_SIDSimHit::m_nPixelCol
int m_nPixelCol
Definition:
AFP_SIDSimHit.h:35
AFP_SIDSimHit::m_nParticleEncoding
int m_nParticleEncoding
Definition:
AFP_SIDSimHit.h:19
python.PyAthena.obj
obj
Definition:
PyAthena.py:132
Generated on Thu Nov 7 2024 21:09:38 for ATLAS Offline Software by
1.8.18