ATLAS Offline Software
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 
7 
8 
9  // Called by ALFA_SensitiveDetector::ProcessHits
10 
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 //
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
49 
50 // barcode
52 {
53  return 22;
54 }
Trk::ParticleSwitcher::particle
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses
Definition: ParticleHypothesis.h:76
ALFA_ODHit.h
ALFA_ODHit::ALFA_ODHit
ALFA_ODHit()
Definition: ALFA_ODHit.cxx:35
TRT::Hit::side
@ side
Definition: HitInfo.h:83
ALFA_ODHit::GetTrackID
int GetTrackID() const
Definition: ALFA_ODHit.cxx:51
sign
int sign(int a)
Definition: TRT_StrawNeighbourSvc.h:107
CaloSwCorrections.time
def time(flags, cells_name, *args, **kw)
Definition: CaloSwCorrections.py:242
ALFA_ODHit::~ALFA_ODHit
virtual ~ALFA_ODHit()
Definition: ALFA_ODHit.cxx:48