ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
TRTUncompressedHit Class Referencefinal

#include <TRTUncompressedHit.h>

Collaboration diagram for TRTUncompressedHit:

Public Member Functions

 TRTUncompressedHit (int hit, int track, int particle, float kinEnergy, float eneDeposit, float preX, float preY, float preZ, float postX, float postY, float postZ, float time)
 
 TRTUncompressedHit (int hit, const HepMcParticleLink &partLink, int particle, float kinEnergy, float eneDeposit, float preX, float preY, float preZ, float postX, float postY, float postZ, float time)
 
 TRTUncompressedHit ()
 
 ~TRTUncompressedHit ()=default
 
 TRTUncompressedHit (const TRTUncompressedHit &)=default
 
 TRTUncompressedHit (TRTUncompressedHit &&) noexcept=default
 
TRTUncompressedHitoperator= (const TRTUncompressedHit &)=default
 
TRTUncompressedHitoperator= (TRTUncompressedHit &&) noexcept=default
 
bool operator< (const TRTUncompressedHit &obj) const
 
int GetHitID () const
 
int truthBarcode () const
 
int truthID () const
 
const HepMcParticleLinkparticleLink () const
 
int GetParticleEncoding () const
 
float GetKineticEnergy () const
 
float GetEnergyDeposit () const
 
float GetPreStepX () const
 
float GetPreStepY () const
 
float GetPreStepZ () const
 
float GetPostStepX () const
 
float GetPostStepY () const
 
float GetPostStepZ () const
 
float GetGlobalTime () const
 
void SetGlobalTime (float newGlobalTime)
 

Private Attributes

int m_hitID
 
HepMcParticleLink m_partLink
 
int m_particleEncoding
 
float m_kineticEnergy
 
float m_energyDeposit
 
float m_preStepX
 
float m_preStepY
 
float m_preStepZ
 
float m_postStepX
 
float m_postStepY
 
float m_postStepZ
 
float m_globalTime
 

Detailed Description

Definition at line 10 of file TRTUncompressedHit.h.

Constructor & Destructor Documentation

◆ TRTUncompressedHit() [1/5]

TRTUncompressedHit::TRTUncompressedHit ( int  hit,
int  track,
int  particle,
float  kinEnergy,
float  eneDeposit,
float  preX,
float  preY,
float  preZ,
float  postX,
float  postY,
float  postZ,
float  time 
)

Definition at line 10 of file TRTUncompressedHit.cxx.

17  :
18  m_hitID(hit),
21  m_kineticEnergy(kinEnergy),
22  m_energyDeposit(eneDeposit),
23  m_preStepX(preX), m_preStepY(preY), m_preStepZ(preZ),
24  m_postStepX(postX), m_postStepY(postY), m_postStepZ(postZ),
25  m_globalTime(time) {}

◆ TRTUncompressedHit() [2/5]

TRTUncompressedHit::TRTUncompressedHit ( int  hit,
const HepMcParticleLink partLink,
int  particle,
float  kinEnergy,
float  eneDeposit,
float  preX,
float  preY,
float  preZ,
float  postX,
float  postY,
float  postZ,
float  time 
)

Definition at line 27 of file TRTUncompressedHit.cxx.

34  :
35  m_hitID(hit),
36  m_partLink(partlink),
38  m_kineticEnergy(kinEnergy),
39  m_energyDeposit(eneDeposit),
40  m_preStepX(preX), m_preStepY(preY), m_preStepZ(preZ),
41  m_postStepX(postX), m_postStepY(postY), m_postStepZ(postZ),
42  m_globalTime(time) {}

◆ TRTUncompressedHit() [3/5]

TRTUncompressedHit::TRTUncompressedHit ( )

Definition at line 46 of file TRTUncompressedHit.cxx.

46  :
47  m_hitID(0xffff),
49  m_kineticEnergy(0.0),
50  m_energyDeposit(0.0),
51  m_preStepX(0.0), m_preStepY(0.0), m_preStepZ(0.0),
52  m_postStepX(0.0), m_postStepY(0.0), m_postStepZ(0.0),
53  m_globalTime(0.0)
54 {
55 }

◆ ~TRTUncompressedHit()

TRTUncompressedHit::~TRTUncompressedHit ( )
default

◆ TRTUncompressedHit() [4/5]

TRTUncompressedHit::TRTUncompressedHit ( const TRTUncompressedHit )
default

◆ TRTUncompressedHit() [5/5]

TRTUncompressedHit::TRTUncompressedHit ( TRTUncompressedHit &&  )
defaultnoexcept

Member Function Documentation

◆ GetEnergyDeposit()

float TRTUncompressedHit::GetEnergyDeposit ( ) const
inline

Definition at line 61 of file TRTUncompressedHit.h.

62  {return m_energyDeposit;}

◆ GetGlobalTime()

float TRTUncompressedHit::GetGlobalTime ( ) const
inline

Definition at line 82 of file TRTUncompressedHit.h.

83  {return m_globalTime;}

◆ GetHitID()

int TRTUncompressedHit::GetHitID ( ) const
inline

Definition at line 42 of file TRTUncompressedHit.h.

43  {return m_hitID;}

◆ GetKineticEnergy()

float TRTUncompressedHit::GetKineticEnergy ( ) const
inline

Definition at line 58 of file TRTUncompressedHit.h.

59  {return m_kineticEnergy;}

◆ GetParticleEncoding()

int TRTUncompressedHit::GetParticleEncoding ( ) const
inline

Definition at line 55 of file TRTUncompressedHit.h.

56  {return m_particleEncoding;}

◆ GetPostStepX()

float TRTUncompressedHit::GetPostStepX ( ) const
inline

Definition at line 73 of file TRTUncompressedHit.h.

74  {return m_postStepX;}

◆ GetPostStepY()

float TRTUncompressedHit::GetPostStepY ( ) const
inline

Definition at line 76 of file TRTUncompressedHit.h.

77  {return m_postStepY;}

◆ GetPostStepZ()

float TRTUncompressedHit::GetPostStepZ ( ) const
inline

Definition at line 79 of file TRTUncompressedHit.h.

80  {return m_postStepZ;}

◆ GetPreStepX()

float TRTUncompressedHit::GetPreStepX ( ) const
inline

Definition at line 64 of file TRTUncompressedHit.h.

65  {return m_preStepX;}

◆ GetPreStepY()

float TRTUncompressedHit::GetPreStepY ( ) const
inline

Definition at line 67 of file TRTUncompressedHit.h.

68  {return m_preStepY;}

◆ GetPreStepZ()

float TRTUncompressedHit::GetPreStepZ ( ) const
inline

Definition at line 70 of file TRTUncompressedHit.h.

71  {return m_preStepZ;}

◆ operator<()

bool TRTUncompressedHit::operator< ( const TRTUncompressedHit obj) const
inline

Definition at line 39 of file TRTUncompressedHit.h.

40  {return m_hitID < obj.m_hitID;}

◆ operator=() [1/2]

TRTUncompressedHit& TRTUncompressedHit::operator= ( const TRTUncompressedHit )
default

◆ operator=() [2/2]

TRTUncompressedHit& TRTUncompressedHit::operator= ( TRTUncompressedHit &&  )
defaultnoexcept

◆ particleLink()

const HepMcParticleLink & TRTUncompressedHit::particleLink ( ) const
inline

Definition at line 109 of file TRTUncompressedHit.h.

110 {
111  return m_partLink;
112 }

◆ SetGlobalTime()

void TRTUncompressedHit::SetGlobalTime ( float  newGlobalTime)
inline

Definition at line 85 of file TRTUncompressedHit.h.

86  {m_globalTime=newGlobalTime;}

◆ truthBarcode()

int TRTUncompressedHit::truthBarcode ( ) const

Definition at line 58 of file TRTUncompressedHit.cxx.

59 {
60  return m_partLink.barcode();
61 }

◆ truthID()

int TRTUncompressedHit::truthID ( ) const

Definition at line 64 of file TRTUncompressedHit.cxx.

65 {
66  return m_partLink.id();
67 }

Member Data Documentation

◆ m_energyDeposit

float TRTUncompressedHit::m_energyDeposit
private

Definition at line 94 of file TRTUncompressedHit.h.

◆ m_globalTime

float TRTUncompressedHit::m_globalTime
private

Definition at line 101 of file TRTUncompressedHit.h.

◆ m_hitID

int TRTUncompressedHit::m_hitID
private

Definition at line 89 of file TRTUncompressedHit.h.

◆ m_kineticEnergy

float TRTUncompressedHit::m_kineticEnergy
private

Definition at line 93 of file TRTUncompressedHit.h.

◆ m_particleEncoding

int TRTUncompressedHit::m_particleEncoding
private

Definition at line 92 of file TRTUncompressedHit.h.

◆ m_partLink

HepMcParticleLink TRTUncompressedHit::m_partLink
private

Definition at line 91 of file TRTUncompressedHit.h.

◆ m_postStepX

float TRTUncompressedHit::m_postStepX
private

Definition at line 98 of file TRTUncompressedHit.h.

◆ m_postStepY

float TRTUncompressedHit::m_postStepY
private

Definition at line 99 of file TRTUncompressedHit.h.

◆ m_postStepZ

float TRTUncompressedHit::m_postStepZ
private

Definition at line 100 of file TRTUncompressedHit.h.

◆ m_preStepX

float TRTUncompressedHit::m_preStepX
private

Definition at line 95 of file TRTUncompressedHit.h.

◆ m_preStepY

float TRTUncompressedHit::m_preStepY
private

Definition at line 96 of file TRTUncompressedHit.h.

◆ m_preStepZ

float TRTUncompressedHit::m_preStepZ
private

Definition at line 97 of file TRTUncompressedHit.h.


The documentation for this class was generated from the following files:
Trk::ParticleSwitcher::particle
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses
Definition: ParticleHypothesis.h:76
TRTUncompressedHit::m_hitID
int m_hitID
Definition: TRTUncompressedHit.h:89
TRTUncompressedHit::m_energyDeposit
float m_energyDeposit
Definition: TRTUncompressedHit.h:94
TRTUncompressedHit::m_preStepY
float m_preStepY
Definition: TRTUncompressedHit.h:96
TRTUncompressedHit::m_preStepX
float m_preStepX
Definition: TRTUncompressedHit.h:95
TRTUncompressedHit::m_postStepZ
float m_postStepZ
Definition: TRTUncompressedHit.h:100
TRTUncompressedHit::m_globalTime
float m_globalTime
Definition: TRTUncompressedHit.h:101
TRTUncompressedHit::m_particleEncoding
int m_particleEncoding
Definition: TRTUncompressedHit.h:92
TRTUncompressedHit::m_partLink
HepMcParticleLink m_partLink
Definition: TRTUncompressedHit.h:91
TRTUncompressedHit::m_preStepZ
float m_preStepZ
Definition: TRTUncompressedHit.h:97
TRTUncompressedHit::m_postStepX
float m_postStepX
Definition: TRTUncompressedHit.h:98
TRTUncompressedHit::m_postStepY
float m_postStepY
Definition: TRTUncompressedHit.h:99
CaloSwCorrections.time
def time(flags, cells_name, *args, **kw)
Definition: CaloSwCorrections.py:242
xAOD::track
@ track
Definition: TrackingPrimitives.h:512
python.PyAthena.obj
obj
Definition: PyAthena.py:132
TRTUncompressedHit::m_kineticEnergy
float m_kineticEnergy
Definition: TRTUncompressedHit.h:93