ATLAS Offline Software
ALFA_Hit.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_Hit.h"
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 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_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_n_plate(0), m_n_fiber(0), m_n_station(0)
45 {}
46 
47 // destructor
49 
51 {
52  return 22;
53 }
Trk::ParticleSwitcher::particle
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses
Definition: ParticleHypothesis.h:76
ALFA_Hit::~ALFA_Hit
virtual ~ALFA_Hit()
Definition: ALFA_Hit.cxx:48
sign
int sign(int a)
Definition: TRT_StrawNeighbourSvc.h:127
ALFA_Hit::GetTrackID
int GetTrackID() const
Definition: ALFA_Hit.cxx:50
ALFA_Hit.h
CaloSwCorrections.time
def time(flags, cells_name, *args, **kw)
Definition: CaloSwCorrections.py:242
ALFA_Hit::ALFA_Hit
ALFA_Hit()
Definition: ALFA_Hit.cxx:35