Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
v
w
x
z
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
GitLab
LXR
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
LArCalorimeter
LArG4
LArG4ShowerLib
LArG4ShowerLib
ShowerEnergySpot.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
4
Compressed version of energy spots to be used by ShowerLibrary.
5
6
*/
7
#pragma once
8
9
#include "G4ThreeVector.hh"
10
11
namespace
ShowerLib
{
12
class
ShowerEnergySpot
13
{
14
15
public
:
16
17
// Constructors and destructors
18
ShowerEnergySpot
():
m_point
{0},
m_energy
{0},
m_time
{0}
19
{;}
20
21
22
23
ShowerEnergySpot
(
const
G4ThreeVector&
P
, G4double
E
, G4double
t
)
24
{
25
m_point
[0] =
P
.getX();
26
m_point
[1] =
P
.getY();
27
m_point
[2] =
P
.getZ();
28
m_energy
=
E
;
29
m_time
=
t
;
30
}
31
~ShowerEnergySpot
()
32
{ ;}
33
34
// Accessor methods
35
inline
void
SetEnergy
(
const
G4double&
E
)
36
{
m_energy
=
E
; }
37
38
inline
G4double
GetEnergy
()
const
39
{
return
m_energy
; }
40
41
inline
void
SetPosition
(
const
G4ThreeVector&
P
)
42
{
43
m_point
[0] =
P
.getX();
44
m_point
[1] =
P
.getY();
45
m_point
[2] =
P
.getZ();
46
}
47
48
inline
G4ThreeVector
GetPosition
()
const
49
{
return
G4ThreeVector(
m_point
[0],
m_point
[1],
m_point
[2]); }
50
51
inline
void
SetTime
(
const
G4double
t
)
52
{
m_time
=
t
; }
53
54
inline
G4double
GetTime
()
const
55
{
return
m_time
; }
56
57
58
private
:
59
float
m_point
[3];
60
float
m_energy
;
61
float
m_time
;
62
};
63
64
}
65
66
67
68
ShowerLib::ShowerEnergySpot::m_point
float m_point[3]
Definition:
ShowerEnergySpot.h:59
DMTest::P
P_v1 P
Definition:
P.h:23
ShowerLib::ShowerEnergySpot::ShowerEnergySpot
ShowerEnergySpot(const G4ThreeVector &P, G4double E, G4double t)
Definition:
ShowerEnergySpot.h:23
ShowerLib::ShowerEnergySpot
Definition:
ShowerEnergySpot.h:13
ShowerLib::ShowerEnergySpot::ShowerEnergySpot
ShowerEnergySpot()
Definition:
ShowerEnergySpot.h:18
ShowerLib::ShowerEnergySpot::GetPosition
G4ThreeVector GetPosition() const
Definition:
ShowerEnergySpot.h:48
read_hist_ntuple.t
t
Definition:
read_hist_ntuple.py:5
ShowerLib::ShowerEnergySpot::m_time
float m_time
Definition:
ShowerEnergySpot.h:61
ShowerLib::ShowerEnergySpot::GetTime
G4double GetTime() const
Definition:
ShowerEnergySpot.h:54
ShowerLib::ShowerEnergySpot::SetPosition
void SetPosition(const G4ThreeVector &P)
Definition:
ShowerEnergySpot.h:41
ShowerLib::ShowerEnergySpot::SetTime
void SetTime(const G4double t)
Definition:
ShowerEnergySpot.h:51
VP1PartSpect::E
@ E
Definition:
VP1PartSpectFlags.h:21
ShowerLib::ShowerEnergySpot::SetEnergy
void SetEnergy(const G4double &E)
Definition:
ShowerEnergySpot.h:35
ShowerLib::ShowerEnergySpot::m_energy
float m_energy
Definition:
ShowerEnergySpot.h:60
ShowerLib::ShowerEnergySpot::GetEnergy
G4double GetEnergy() const
Definition:
ShowerEnergySpot.h:38
ShowerLib
Namespace for the ShowerLib related classes.
Definition:
LArG4GenShowerLib.h:19
ShowerLib::ShowerEnergySpot::~ShowerEnergySpot
~ShowerEnergySpot()
Definition:
ShowerEnergySpot.h:31
Generated on Tue May 13 2025 21:17:44 for ATLAS Offline Software by
1.8.18