ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
ScintillatorHit Class Reference

#include <ScintillatorHit.h>

Collaboration diagram for ScintillatorHit:

Public Member Functions

 ScintillatorHit (const int volNumber, const int particleEncoding, const float kineticEnergy, const float energyDeposit, const float preStepX, const float preStepY, const float preStepZ, const float postStepX, const float postStepY, const float postStepZ, const float globalPreStepX, const float globalPreStepY, const float globalPreStepZ, const float globalPostStepX, const float globalPostStepY, const float globalPostStepZ, const float globalTime, const int track)
 
 ScintillatorHit ()
 
virtual ~ScintillatorHit ()
 
int GetVolNumber () const
 
int truthBarcode () const
 
int truthID () 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 GetGlobalPreStepX () const
 
float GetGlobalPreStepY () const
 
float GetGlobalPreStepZ () const
 
float GetGlobalPostStepX () const
 
float GetGlobalPostStepY () const
 
float GetGlobalPostStepZ () const
 
float GetGlobalTime () const
 
const HepMcParticleLinkparticleLink () const
 

Private Attributes

int m_volNumber
 
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_globalPreStepX
 
float m_globalPreStepY
 
float m_globalPreStepZ
 
float m_globalPostStepX
 
float m_globalPostStepY
 
float m_globalPostStepZ
 
float m_globalTime
 
HepMcParticleLink m_partLink
 

Detailed Description

Definition at line 17 of file ScintillatorHit.h.

Constructor & Destructor Documentation

◆ ScintillatorHit() [1/2]

ScintillatorHit::ScintillatorHit ( const int  volNumber,
const int  particleEncoding,
const float  kineticEnergy,
const float  energyDeposit,
const float  preStepX,
const float  preStepY,
const float  preStepZ,
const float  postStepX,
const float  postStepY,
const float  postStepZ,
const float  globalPreStepX,
const float  globalPreStepY,
const float  globalPreStepZ,
const float  globalPostStepX,
const float  globalPostStepY,
const float  globalPostStepZ,
const float  globalTime,
const int  track 
)

Definition at line 37 of file ScintillatorHit.cxx.

54  :
55  m_volNumber(volNumber),
56  m_particleEncoding(particleEncoding),
57  m_kineticEnergy(kineticEnergy),
59  m_preStepX(preStepX),
60  m_preStepY(preStepY),
61  m_preStepZ(preStepZ),
62  m_postStepX(postStepX),
63  m_postStepY(postStepY),
64  m_postStepZ(postStepZ),
65  m_globalPreStepX(globalPreStepX),
66  m_globalPreStepY(globalPreStepY),
67  m_globalPreStepZ(globalPreStepZ),
68  m_globalPostStepX(globalPostStepX),
69  m_globalPostStepY(globalPostStepY),
70  m_globalPostStepZ(globalPostStepZ),
71  m_globalTime(globalTime),
73 {}

◆ ScintillatorHit() [2/2]

ScintillatorHit::ScintillatorHit ( )

Definition at line 14 of file ScintillatorHit.cxx.

14  :
15  m_volNumber(-999),
17  m_kineticEnergy(0),
18  m_energyDeposit(0),
19  m_preStepX(0),
20  m_preStepY(0),
21  m_preStepZ(0),
22  m_postStepX(0),
23  m_postStepY(0),
24  m_postStepZ(0),
31  m_globalTime(0),
32  m_partLink() {}

◆ ~ScintillatorHit()

ScintillatorHit::~ScintillatorHit ( )
virtual

Definition at line 34 of file ScintillatorHit.cxx.

34 {}

Member Function Documentation

◆ GetEnergyDeposit()

float ScintillatorHit::GetEnergyDeposit ( ) const

◆ GetGlobalPostStepX()

float ScintillatorHit::GetGlobalPostStepX ( ) const

◆ GetGlobalPostStepY()

float ScintillatorHit::GetGlobalPostStepY ( ) const

◆ GetGlobalPostStepZ()

float ScintillatorHit::GetGlobalPostStepZ ( ) const

◆ GetGlobalPreStepX()

float ScintillatorHit::GetGlobalPreStepX ( ) const

◆ GetGlobalPreStepY()

float ScintillatorHit::GetGlobalPreStepY ( ) const

◆ GetGlobalPreStepZ()

float ScintillatorHit::GetGlobalPreStepZ ( ) const

◆ GetGlobalTime()

float ScintillatorHit::GetGlobalTime ( ) const

◆ GetKineticEnergy()

float ScintillatorHit::GetKineticEnergy ( ) const

◆ GetParticleEncoding()

int ScintillatorHit::GetParticleEncoding ( ) const

◆ GetPostStepX()

float ScintillatorHit::GetPostStepX ( ) const

◆ GetPostStepY()

float ScintillatorHit::GetPostStepY ( ) const

◆ GetPostStepZ()

float ScintillatorHit::GetPostStepZ ( ) const

◆ GetPreStepX()

float ScintillatorHit::GetPreStepX ( ) const

◆ GetPreStepY()

float ScintillatorHit::GetPreStepY ( ) const

◆ GetPreStepZ()

float ScintillatorHit::GetPreStepZ ( ) const

◆ GetVolNumber()

int ScintillatorHit::GetVolNumber ( ) const

◆ particleLink()

const HepMcParticleLink& ScintillatorHit::particleLink ( ) const

◆ truthBarcode()

int ScintillatorHit::truthBarcode ( ) const

Definition at line 75 of file ScintillatorHit.cxx.

75  {
76  return HepMC::barcode(m_partLink); // FIXME barcode-based
77 }

◆ truthID()

int ScintillatorHit::truthID ( ) const

Definition at line 79 of file ScintillatorHit.cxx.

80 {
81  return m_partLink.id();
82 }

Member Data Documentation

◆ m_energyDeposit

float ScintillatorHit::m_energyDeposit
private

Definition at line 77 of file ScintillatorHit.h.

◆ m_globalPostStepX

float ScintillatorHit::m_globalPostStepX
private

Definition at line 87 of file ScintillatorHit.h.

◆ m_globalPostStepY

float ScintillatorHit::m_globalPostStepY
private

Definition at line 88 of file ScintillatorHit.h.

◆ m_globalPostStepZ

float ScintillatorHit::m_globalPostStepZ
private

Definition at line 89 of file ScintillatorHit.h.

◆ m_globalPreStepX

float ScintillatorHit::m_globalPreStepX
private

Definition at line 84 of file ScintillatorHit.h.

◆ m_globalPreStepY

float ScintillatorHit::m_globalPreStepY
private

Definition at line 85 of file ScintillatorHit.h.

◆ m_globalPreStepZ

float ScintillatorHit::m_globalPreStepZ
private

Definition at line 86 of file ScintillatorHit.h.

◆ m_globalTime

float ScintillatorHit::m_globalTime
private

Definition at line 90 of file ScintillatorHit.h.

◆ m_kineticEnergy

float ScintillatorHit::m_kineticEnergy
private

Definition at line 76 of file ScintillatorHit.h.

◆ m_particleEncoding

int ScintillatorHit::m_particleEncoding
private

Definition at line 75 of file ScintillatorHit.h.

◆ m_partLink

HepMcParticleLink ScintillatorHit::m_partLink
private

Definition at line 91 of file ScintillatorHit.h.

◆ m_postStepX

float ScintillatorHit::m_postStepX
private

Definition at line 81 of file ScintillatorHit.h.

◆ m_postStepY

float ScintillatorHit::m_postStepY
private

Definition at line 82 of file ScintillatorHit.h.

◆ m_postStepZ

float ScintillatorHit::m_postStepZ
private

Definition at line 83 of file ScintillatorHit.h.

◆ m_preStepX

float ScintillatorHit::m_preStepX
private

Definition at line 78 of file ScintillatorHit.h.

◆ m_preStepY

float ScintillatorHit::m_preStepY
private

Definition at line 79 of file ScintillatorHit.h.

◆ m_preStepZ

float ScintillatorHit::m_preStepZ
private

Definition at line 80 of file ScintillatorHit.h.

◆ m_volNumber

int ScintillatorHit::m_volNumber
private

Definition at line 74 of file ScintillatorHit.h.


The documentation for this class was generated from the following files:
ScintillatorHit::m_preStepY
float m_preStepY
Definition: ScintillatorHit.h:79
ScintillatorHit::m_postStepZ
float m_postStepZ
Definition: ScintillatorHit.h:83
ScintillatorHit::m_globalTime
float m_globalTime
Definition: ScintillatorHit.h:90
ScintillatorHit::m_kineticEnergy
float m_kineticEnergy
Definition: ScintillatorHit.h:76
Trk::energyDeposit
@ energyDeposit
Definition: MeasurementType.h:32
ScintillatorHit::m_globalPreStepX
float m_globalPreStepX
Definition: ScintillatorHit.h:84
ScintillatorHit::m_preStepZ
float m_preStepZ
Definition: ScintillatorHit.h:80
ScintillatorHit::m_preStepX
float m_preStepX
Definition: ScintillatorHit.h:78
HepMC::barcode
int barcode(const T *p)
Definition: Barcode.h:16
ScintillatorHit::m_globalPostStepY
float m_globalPostStepY
Definition: ScintillatorHit.h:88
ScintillatorHit::m_energyDeposit
float m_energyDeposit
Definition: ScintillatorHit.h:77
ScintillatorHit::m_particleEncoding
int m_particleEncoding
Definition: ScintillatorHit.h:75
ScintillatorHit::m_globalPreStepY
float m_globalPreStepY
Definition: ScintillatorHit.h:85
ScintillatorHit::m_postStepX
float m_postStepX
Definition: ScintillatorHit.h:81
ScintillatorHit::m_postStepY
float m_postStepY
Definition: ScintillatorHit.h:82
ScintillatorHit::m_globalPostStepZ
float m_globalPostStepZ
Definition: ScintillatorHit.h:89
ScintillatorHit::m_partLink
HepMcParticleLink m_partLink
Definition: ScintillatorHit.h:91
ScintillatorHit::m_volNumber
int m_volNumber
Definition: ScintillatorHit.h:74
xAOD::track
@ track
Definition: TrackingPrimitives.h:512
ScintillatorHit::m_globalPreStepZ
float m_globalPreStepZ
Definition: ScintillatorHit.h:86
ScintillatorHit::m_globalPostStepX
float m_globalPostStepX
Definition: ScintillatorHit.h:87