ATLAS Offline Software
Loading...
Searching...
No Matches
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
9{
10public:
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);
13 virtual ~AFP_SIDSimHit();
14 bool operator < (const AFP_SIDSimHit& obj) const {return m_nHitID < obj.m_nHitID;}
15
16public://FIXME eventually these should be made private and should be accessed via get/set methods.
17 int m_nHitID; // To identify the hit
19 int m_nParticleEncoding; // PDG id
20 float m_fKineticEnergy; // kin energy of the particle
21 float m_fEnergyDeposit; // energy deposit by the hit
29
33
36};
37
38
39inline float hitTime(const AFP_SIDSimHit& hit)
40{
41 return hit.m_fGlobalTime;
42}
43
44#endif //AFP_SIDSimHit_h
float hitTime(const AFP_SIDSimHit &hit)
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)
float m_fKineticEnergy
float m_fEnergyDeposit
virtual ~AFP_SIDSimHit()
bool operator<(const AFP_SIDSimHit &obj) const