ATLAS Offline Software
Loading...
Searching...
No Matches
ForwardDetectors
ALFA
ALFA_SimEv
src
ALFA_ODHit.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
6
#include "
ALFA_SimEv/ALFA_ODHit.h
"
7
8
9
// Called by ALFA_SensitiveDetector::ProcessHits
10
11
ALFA_ODHit::ALFA_ODHit
(
int
hit,
12
int
/*track*/
,
13
int
particle,
14
float
kinEnergy,
15
float
eneDeposit,
16
float
preX,
float
preY,
float
preZ,
17
float
postX,
float
postY,
float
postZ,
18
float
time,
19
int
sign
,
int
side,
int
plate,
int
fiber,
int
station
20
):
21
m_hitID
(hit),
22
//trackID(track),
23
// m_partLink(track),
24
m_particleEncoding
(particle),
25
m_kineticEnergy
(kinEnergy),
26
m_energyDeposit
(eneDeposit),
27
m_preStepX
(preX),
m_preStepY
(preY),
m_preStepZ
(preZ),
28
m_postStepX
(postX),
m_postStepY
(postY),
m_postStepZ
(postZ),
29
m_globalTime
(time),
30
m_sign_fiber
(
sign
),
m_OD_side
(side),
m_n_plate
(plate),
m_n_fiber
(fiber),
m_n_station
(station)
31
{}
32
33
// Default constructor needed by athenaroot/athenapool
34
//
35
ALFA_ODHit::ALFA_ODHit
( ) :
36
m_hitID
(0xffff),
37
//trackID(0),
38
m_particleEncoding
(0),
39
m_kineticEnergy
(0.),
40
m_energyDeposit
(0.),
41
m_preStepX
(0.),
m_preStepY
(0.),
m_preStepZ
(0.),
42
m_postStepX
(0.),
m_postStepY
(0.),
m_postStepZ
(0.),
43
m_globalTime
(0.),
44
m_sign_fiber
(0),
m_OD_side
(0),
m_n_plate
(0),
m_n_fiber
(0),
m_n_station
(0)
45
{}
46
47
// destructor
48
ALFA_ODHit::~ALFA_ODHit
() {}
49
50
// barcode
51
int
ALFA_ODHit::GetTrackID
()
const
52
{
53
return
22;
54
}
ALFA_ODHit.h
sign
int sign(int a)
Definition
TRT_StrawNeighbourSvc.h:108
ALFA_ODHit::m_hitID
int m_hitID
Definition
ALFA_ODHit.h:83
ALFA_ODHit::m_n_station
int m_n_station
Definition
ALFA_ODHit.h:101
ALFA_ODHit::ALFA_ODHit
ALFA_ODHit()
Definition
ALFA_ODHit.cxx:35
ALFA_ODHit::m_n_plate
int m_n_plate
Definition
ALFA_ODHit.h:99
ALFA_ODHit::~ALFA_ODHit
virtual ~ALFA_ODHit()
Definition
ALFA_ODHit.cxx:48
ALFA_ODHit::m_n_fiber
int m_n_fiber
Definition
ALFA_ODHit.h:100
ALFA_ODHit::m_kineticEnergy
float m_kineticEnergy
Definition
ALFA_ODHit.h:87
ALFA_ODHit::m_preStepY
float m_preStepY
Definition
ALFA_ODHit.h:90
ALFA_ODHit::m_postStepY
float m_postStepY
Definition
ALFA_ODHit.h:93
ALFA_ODHit::m_preStepX
float m_preStepX
Definition
ALFA_ODHit.h:89
ALFA_ODHit::m_energyDeposit
float m_energyDeposit
Definition
ALFA_ODHit.h:88
ALFA_ODHit::m_postStepX
float m_postStepX
Definition
ALFA_ODHit.h:92
ALFA_ODHit::m_OD_side
int m_OD_side
Definition
ALFA_ODHit.h:98
ALFA_ODHit::m_preStepZ
float m_preStepZ
Definition
ALFA_ODHit.h:91
ALFA_ODHit::m_particleEncoding
int m_particleEncoding
Definition
ALFA_ODHit.h:86
ALFA_ODHit::m_globalTime
float m_globalTime
Definition
ALFA_ODHit.h:95
ALFA_ODHit::m_postStepZ
float m_postStepZ
Definition
ALFA_ODHit.h:94
ALFA_ODHit::m_sign_fiber
int m_sign_fiber
Definition
ALFA_ODHit.h:97
ALFA_ODHit::GetTrackID
int GetTrackID() const
Definition
ALFA_ODHit.cxx:51
Generated on
for ATLAS Offline Software by
1.14.0