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
LArG4TB
LArG4TBSimEvent
LArG4TBSimEvent
LArG4H6FrontHit.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
//============================================
6
// HEC/EMEC TB FrontHit class
7
//
8
// information stored:
9
// - energy deposition in scintillators
10
// - hit position
11
// - scintillator ID
12
// - mwpc IDs
13
// - track ID
14
// - particle code in F1/F2
15
//============================================
16
17
#ifndef LArG4H6FrontHit_h
18
#define LArG4H6FrontHit_h 1
19
20
#include "CLHEP/Vector/ThreeVector.h"
21
#include <vector>
22
class
LArG4H6FrontHit
23
{
24
public
:
25
LArG4H6FrontHit
();
26
LArG4H6FrontHit
(
int
sc
,
double
ed);
27
LArG4H6FrontHit
(
int
mw,
int
x1
,
int
y1
);
28
LArG4H6FrontHit
(
const
LArG4H6FrontHit
&right) =
default
;
29
// ~LArG4H6FrontHit(){;};
30
31
LArG4H6FrontHit
&
operator=
(
const
LArG4H6FrontHit
&right) =
default
;
32
int
operator==
(
const
LArG4H6FrontHit
&right);
33
// inline void *operator new(size_t, void* aHit = 0);
34
// inline void operator delete(void *aHit);
35
36
void
Draw
(){;};
37
void
Print
(){;};
38
39
// Set- Get- methods
40
// energy deposit
41
inline
void
SetEdep
(
double
ed) {
m_edep
= ed; }
42
inline
double
GetEdep
()
const
{
return
m_edep
; }
43
44
// position
45
inline
void
SetPos
(
const
CLHEP::Hep3Vector&
p
) {
m_pos
=
p
; }
46
inline
CLHEP::Hep3Vector
GetPos
()
const
{
return
m_pos
; }
47
48
// scnum
49
inline
void
SetSC
(
int
sc
) {
m_scnum
=
sc
; }
50
inline
int
GetSC
()
const
{
return
m_scnum
; }
51
52
// mwpcnum , x, y
53
inline
void
SetMWPC
(
int
mw) {
m_mwpcnum
= mw; }
54
inline
int
GetMWPC
()
const
{
return
m_mwpcnum
; }
55
inline
void
SetX
(
int
x1
) {
m_x
=
x1
; }
56
inline
int
GetX
()
const
{
return
m_x
; }
57
inline
void
SetY
(
int
y1
) {
m_y
=
y1
; }
58
inline
int
GetY
()
const
{
return
m_y
; }
59
60
// trackID
61
inline
void
SetTrackID
(
int
id
) {
m_track_id
=
id
; }
62
inline
int
GetTrackID
()
const
{
return
m_track_id
; }
63
64
// particle code
65
inline
void
SetPcode
(
int
code
) {
m_pcode
=
code
; }
66
inline
int
GetPcode
()
const
{
return
m_pcode
; }
67
68
private
:
69
double
m_edep
;
// deposited energy in G4 internal units
70
CLHEP::Hep3Vector
m_pos
;
// position of the hit
71
int
m_scnum
,
m_mwpcnum
,
m_x
,
m_y
;
// sci. number, mwpc number, x- or y- wire number
72
int
m_track_id
;
// track id
73
int
m_pcode
;
// particle code
74
};
75
76
typedef
std::vector<LArG4H6FrontHit>
LArG4H6FrontHitsCollection
;
77
78
// extern G4Allocator<LArG4H6FrontHit> LArG4H6FrontHitAllocator;
79
80
/*
81
inline void* LArG4H6FrontHit::operator new(size_t, void* aHit)
82
{
83
// void *aHit;
84
aHit = (void *) LArG4H6FrontHitAllocator.MallocSingle();
85
return aHit;
86
}
87
88
inline void LArG4H6FrontHit::operator delete(void* aHit)
89
{
90
LArG4H6FrontHitAllocator.FreeSingle( (LArG4H6FrontHit*) aHit);
91
}
92
*/
93
#endif
plotBeamSpotCompare.x1
x1
Definition:
plotBeamSpotCompare.py:216
LArG4H6FrontHit::LArG4H6FrontHit
LArG4H6FrontHit(const LArG4H6FrontHit &right)=default
LArG4H6FrontHit::SetSC
void SetSC(int sc)
Definition:
LArG4H6FrontHit.h:49
LArG4H6FrontHit::m_pos
CLHEP::Hep3Vector m_pos
Definition:
LArG4H6FrontHit.h:70
LArG4H6FrontHit::GetY
int GetY() const
Definition:
LArG4H6FrontHit.h:58
LArG4H6FrontHit::m_y
int m_y
Definition:
LArG4H6FrontHit.h:71
LArG4H6FrontHit::SetEdep
void SetEdep(double ed)
Definition:
LArG4H6FrontHit.h:41
LArG4H6FrontHit::SetPcode
void SetPcode(int code)
Definition:
LArG4H6FrontHit.h:65
LArG4H6FrontHit::GetPcode
int GetPcode() const
Definition:
LArG4H6FrontHit.h:66
makeTRTBarrelCans.y1
tuple y1
Definition:
makeTRTBarrelCans.py:15
AthenaPoolTestRead.sc
sc
Definition:
AthenaPoolTestRead.py:27
LArG4H6FrontHit::GetEdep
double GetEdep() const
Definition:
LArG4H6FrontHit.h:42
LArG4H6FrontHit::m_track_id
int m_track_id
Definition:
LArG4H6FrontHit.h:72
histSizes.code
code
Definition:
histSizes.py:129
python.utils.AtlRunQueryDQUtils.p
p
Definition:
AtlRunQueryDQUtils.py:210
LArG4H6FrontHit::m_pcode
int m_pcode
Definition:
LArG4H6FrontHit.h:73
LArG4H6FrontHit::Draw
void Draw()
Definition:
LArG4H6FrontHit.h:36
LArG4H6FrontHit::GetPos
CLHEP::Hep3Vector GetPos() const
Definition:
LArG4H6FrontHit.h:46
LArG4H6FrontHitsCollection
std::vector< LArG4H6FrontHit > LArG4H6FrontHitsCollection
Definition:
LArG4H6FrontHit.h:76
LArG4H6FrontHit::operator==
int operator==(const LArG4H6FrontHit &right)
Definition:
LArG4H6FrontHit.cxx:36
LArG4H6FrontHit::SetY
void SetY(int y1)
Definition:
LArG4H6FrontHit.h:57
LArG4H6FrontHit::SetX
void SetX(int x1)
Definition:
LArG4H6FrontHit.h:55
LArG4H6FrontHit::GetX
int GetX() const
Definition:
LArG4H6FrontHit.h:56
LArG4H6FrontHit::SetMWPC
void SetMWPC(int mw)
Definition:
LArG4H6FrontHit.h:53
LArG4H6FrontHit::operator=
LArG4H6FrontHit & operator=(const LArG4H6FrontHit &right)=default
LArG4H6FrontHit::m_mwpcnum
int m_mwpcnum
Definition:
LArG4H6FrontHit.h:71
id
SG::auxid_t id
Definition:
Control/AthContainers/Root/debug.cxx:239
LArG4H6FrontHit::Print
void Print()
Definition:
LArG4H6FrontHit.h:37
LArG4H6FrontHit::SetTrackID
void SetTrackID(int id)
Definition:
LArG4H6FrontHit.h:61
LArG4H6FrontHit::m_edep
double m_edep
Definition:
LArG4H6FrontHit.h:69
LArG4H6FrontHit::GetSC
int GetSC() const
Definition:
LArG4H6FrontHit.h:50
LArG4H6FrontHit
Definition:
LArG4H6FrontHit.h:23
LArG4H6FrontHit::m_x
int m_x
Definition:
LArG4H6FrontHit.h:71
LArG4H6FrontHit::LArG4H6FrontHit
LArG4H6FrontHit()
Definition:
LArG4H6FrontHit.cxx:8
LArG4H6FrontHit::SetPos
void SetPos(const CLHEP::Hep3Vector &p)
Definition:
LArG4H6FrontHit.h:45
LArG4H6FrontHit::GetMWPC
int GetMWPC() const
Definition:
LArG4H6FrontHit.h:54
LArG4H6FrontHit::GetTrackID
int GetTrackID() const
Definition:
LArG4H6FrontHit.h:62
LArG4H6FrontHit::m_scnum
int m_scnum
Definition:
LArG4H6FrontHit.h:71
Generated on Mon May 12 2025 21:12:58 for ATLAS Offline Software by
1.8.18