ATLAS Offline Software
LArCalorimeter
LArG4TB
LArG4TBSimEvent
src
LArG4H6LeakHit.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
LArG4TBSimEvent/LArG4H6LeakHit.h
"
6
7
8
LArG4H6LeakHit::LArG4H6LeakHit
(
int
d
,
int
cod,
float
ek,
float
et
)
9
: m_ekin(ek),
10
m_etot(
et
),
11
m_pcode (cod),
12
m_dir
(
d
)
13
{
14
}
15
16
LArG4H6LeakHit::LArG4H6LeakHit
(
const
LArG4H6LeakHit
&right)
17
: m_ekin (right.m_ekin),
18
m_etot (right.m_etot),
19
m_pcode (right.m_pcode),
20
m_dir
(right.
m_dir
)
21
{
22
}
23
24
LArG4H6LeakHit
&
LArG4H6LeakHit::operator=
(
const
LArG4H6LeakHit
&right)
25
{
26
if
(
this
!= &right) {
27
m_dir
= right.
m_dir
;
28
m_pcode
= right.
m_pcode
;
29
m_ekin
= right.
m_ekin
;
30
m_etot
= right.
m_etot
;
31
}
32
return
*
this
;
33
}
34
35
int
LArG4H6LeakHit::operator==
(
const
LArG4H6LeakHit
&right)
36
{
37
if
(
m_dir
!= right.
m_dir
)
return
0;
38
if
(
m_pcode
!= right.
m_pcode
)
return
0;
39
if
(
m_ekin
!= right.
m_ekin
)
return
0;
40
if
(
m_etot
!= right.
m_etot
)
return
0;
41
return
1;
42
}
LArG4H6LeakHit::m_dir
int m_dir
Definition:
LArG4H6LeakHit.h:60
et
Extra patterns decribing particle interation process.
m_dir
TDirectory & m_dir
The directory we need to return to.
Definition:
OutputStreamData.cxx:41
LArG4H6LeakHit::operator=
LArG4H6LeakHit & operator=(const LArG4H6LeakHit &right)
Definition:
LArG4H6LeakHit.cxx:24
hist_file_dump.d
d
Definition:
hist_file_dump.py:137
LArG4H6LeakHit::m_pcode
int m_pcode
Definition:
LArG4H6LeakHit.h:55
LArG4H6LeakHit::m_ekin
double m_ekin
Definition:
LArG4H6LeakHit.h:53
LArG4H6LeakHit
Definition:
LArG4H6LeakHit.h:21
LArG4H6LeakHit::LArG4H6LeakHit
LArG4H6LeakHit()=default
LArG4H6LeakHit.h
LArG4H6LeakHit::m_etot
double m_etot
Definition:
LArG4H6LeakHit.h:54
LArG4H6LeakHit::operator==
int operator==(const LArG4H6LeakHit &right)
Definition:
LArG4H6LeakHit.cxx:35
Generated on Thu Nov 7 2024 21:19:38 for ATLAS Offline Software by
1.8.18