ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Simulation
G4Utilities
G4Ancillary
G4AncillarySimEvent
G4AncillarySimEvent
ScintillatorHit.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// ScintillatorHit.h
7
// Header file for class ScintillatorHit
8
//
9
// Author Thomas Kittelmann <kittel@nbi.dk>
11
12
#ifndef SCINTILLATORHIT_H
13
#define SCINTILLATORHIT_H
14
15
#include "
GeneratorObjects/HepMcParticleLink.h
"
16
17
class
ScintillatorHit
{
18
19
public
:
20
21
ScintillatorHit
(
const
int
volNumber,
22
const
int
particleEncoding,
23
const
float
kineticEnergy,
24
const
float
energyDeposit,
25
const
float
preStepX,
26
const
float
preStepY,
27
const
float
preStepZ,
28
const
float
postStepX,
29
const
float
postStepY,
30
const
float
postStepZ,
31
const
float
globalPreStepX,
32
const
float
globalPreStepY,
33
const
float
globalPreStepZ,
34
const
float
globalPostStepX,
35
const
float
globalPostStepY,
36
const
float
globalPostStepZ,
37
const
float
globalTime,
38
const
int
track);
39
40
// Needed by athenaRoot apparently
41
ScintillatorHit
();
42
// Destructor:
43
virtual
~ScintillatorHit
();
//temporary make it virtual for Pool!
44
45
int
GetVolNumber
()
const
;
46
int
truthBarcode
()
const
;
47
int
truthID
()
const
;
48
int
GetParticleEncoding
()
const
;
49
float
GetKineticEnergy
()
const
;
50
float
GetEnergyDeposit
()
const
;
51
float
GetPreStepX
()
const
;
52
float
GetPreStepY
()
const
;
53
float
GetPreStepZ
()
const
;
54
float
GetPostStepX
()
const
;
55
float
GetPostStepY
()
const
;
56
float
GetPostStepZ
()
const
;
57
float
GetGlobalPreStepX
()
const
;
58
float
GetGlobalPreStepY
()
const
;
59
float
GetGlobalPreStepZ
()
const
;
60
float
GetGlobalPostStepX
()
const
;
61
float
GetGlobalPostStepY
()
const
;
62
float
GetGlobalPostStepZ
()
const
;
63
float
GetGlobalTime
()
const
;
64
65
// link to the particle generating the hit
66
const
HepMcParticleLink
&
particleLink
()
const
;
67
68
private
:
69
70
// Forbidden. (TK: why should the copy cons. be forbidden?
71
// ScintillatorHit(const ScintillatorHit&);
72
// ScintillatorHit &operator=(const ScintillatorHit&);
73
74
int
m_volNumber
;
75
int
m_particleEncoding
;
76
float
m_kineticEnergy
;
77
float
m_energyDeposit
;
78
float
m_preStepX
;
79
float
m_preStepY
;
80
float
m_preStepZ
;
81
float
m_postStepX
;
82
float
m_postStepY
;
83
float
m_postStepZ
;
84
float
m_globalPreStepX
;
85
float
m_globalPreStepY
;
86
float
m_globalPreStepZ
;
87
float
m_globalPostStepX
;
88
float
m_globalPostStepY
;
89
float
m_globalPostStepZ
;
90
float
m_globalTime
;
91
HepMcParticleLink
m_partLink
;
92
93
};
94
95
// Inline definitions:
96
#include "
ScintillatorHit.icc
"
97
98
#endif
// SCINTILLATORHIT_H
HepMcParticleLink.h
ScintillatorHit.icc
HepMcParticleLink
a link optimized in size for a GenParticle in a McEventCollection
Definition
HepMcParticleLink.h:72
ScintillatorHit::m_postStepX
float m_postStepX
Definition
ScintillatorHit.h:81
ScintillatorHit::GetPreStepY
float GetPreStepY() const
ScintillatorHit::GetPostStepZ
float GetPostStepZ() const
ScintillatorHit::GetGlobalPostStepX
float GetGlobalPostStepX() const
ScintillatorHit::GetEnergyDeposit
float GetEnergyDeposit() const
ScintillatorHit::m_particleEncoding
int m_particleEncoding
Definition
ScintillatorHit.h:75
ScintillatorHit::GetGlobalPostStepZ
float GetGlobalPostStepZ() const
ScintillatorHit::m_preStepY
float m_preStepY
Definition
ScintillatorHit.h:79
ScintillatorHit::GetPreStepZ
float GetPreStepZ() const
ScintillatorHit::GetGlobalPreStepZ
float GetGlobalPreStepZ() const
ScintillatorHit::m_partLink
HepMcParticleLink m_partLink
Definition
ScintillatorHit.h:91
ScintillatorHit::particleLink
const HepMcParticleLink & particleLink() const
ScintillatorHit::m_kineticEnergy
float m_kineticEnergy
Definition
ScintillatorHit.h:76
ScintillatorHit::GetGlobalPreStepY
float GetGlobalPreStepY() const
ScintillatorHit::GetPostStepX
float GetPostStepX() const
ScintillatorHit::m_globalPostStepZ
float m_globalPostStepZ
Definition
ScintillatorHit.h:89
ScintillatorHit::m_globalPostStepX
float m_globalPostStepX
Definition
ScintillatorHit.h:87
ScintillatorHit::ScintillatorHit
ScintillatorHit()
Definition
ScintillatorHit.cxx:14
ScintillatorHit::m_volNumber
int m_volNumber
Definition
ScintillatorHit.h:74
ScintillatorHit::truthBarcode
int truthBarcode() const
Definition
ScintillatorHit.cxx:75
ScintillatorHit::m_preStepZ
float m_preStepZ
Definition
ScintillatorHit.h:80
ScintillatorHit::m_globalPostStepY
float m_globalPostStepY
Definition
ScintillatorHit.h:88
ScintillatorHit::m_globalPreStepY
float m_globalPreStepY
Definition
ScintillatorHit.h:85
ScintillatorHit::m_globalPreStepX
float m_globalPreStepX
Definition
ScintillatorHit.h:84
ScintillatorHit::GetPreStepX
float GetPreStepX() const
ScintillatorHit::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
ScintillatorHit.cxx:37
ScintillatorHit::m_energyDeposit
float m_energyDeposit
Definition
ScintillatorHit.h:77
ScintillatorHit::GetGlobalPreStepX
float GetGlobalPreStepX() const
ScintillatorHit::m_globalTime
float m_globalTime
Definition
ScintillatorHit.h:90
ScintillatorHit::GetGlobalTime
float GetGlobalTime() const
ScintillatorHit::truthID
int truthID() const
Definition
ScintillatorHit.cxx:79
ScintillatorHit::m_postStepY
float m_postStepY
Definition
ScintillatorHit.h:82
ScintillatorHit::m_postStepZ
float m_postStepZ
Definition
ScintillatorHit.h:83
ScintillatorHit::GetVolNumber
int GetVolNumber() const
ScintillatorHit::GetKineticEnergy
float GetKineticEnergy() const
ScintillatorHit::~ScintillatorHit
virtual ~ScintillatorHit()
Definition
ScintillatorHit.cxx:34
ScintillatorHit::GetPostStepY
float GetPostStepY() const
ScintillatorHit::m_globalPreStepZ
float m_globalPreStepZ
Definition
ScintillatorHit.h:86
ScintillatorHit::GetGlobalPostStepY
float GetGlobalPostStepY() const
ScintillatorHit::m_preStepX
float m_preStepX
Definition
ScintillatorHit.h:78
ScintillatorHit::GetParticleEncoding
int GetParticleEncoding() const
Generated on
for ATLAS Offline Software by
1.17.0