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
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
Simulation
ISF
ISF_Fatras
ISF_FatrasTools
src
ProcessSamplingTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef ISF_FATRASTOOLS_PROCESSSAMPLINGTOOL_H
6
#define ISF_FATRASTOOLS_PROCESSSAMPLINGTOOL_H
7
8
// Athena Base
9
#include "
AthenaBaseComps/AthAlgTool.h
"
10
#include "
CxxUtils/checker_macros.h
"
11
12
// iFatras
13
#include "
ISF_FatrasInterfaces/IProcessSamplingTool.h
"
14
15
// Tracking
16
#include "
TrkEventPrimitives/PdgToParticleHypothesis.h
"
17
#include "
TrkParameters/TrackParameters.h
"
18
19
namespace
iFatras
20
{
28
class
ProcessSamplingTool
:
public
extends<AthAlgTool, IProcessSamplingTool>
29
{
30
public
:
32
ProcessSamplingTool
(
const
std::string&,
const
std::string&,
const
IInterface*);
33
35
virtual
~ProcessSamplingTool
() =
default
;
36
38
Trk::PathLimit
sampleProcess
(CLHEP::HepRandomEngine *randomEngine,
double
mom
,
double
charge
,
Trk::ParticleHypothesis
pHypothesis)
const
;
39
40
private
:
41
/*---------------------------------------------------------------------
42
* Private members
43
*---------------------------------------------------------------------*/
45
BooleanProperty
m_hadInt
{
this
,
"HadronicInteraction"
,
true
,
""
};
46
};
47
}
48
49
#endif // FATRASTOOLS_PROCESSSSAMPLINGTOOL_H
iFatras::ProcessSamplingTool::sampleProcess
Trk::PathLimit sampleProcess(CLHEP::HepRandomEngine *randomEngine, double mom, double charge, Trk::ParticleHypothesis pHypothesis) const
Process pre-sampling : to be moved into material updators eventually.
Definition:
ProcessSamplingTool.cxx:33
TrackParameters.h
iFatras::ProcessSamplingTool::ProcessSamplingTool
ProcessSamplingTool(const std::string &, const std::string &, const IInterface *)
Constructor.
Definition:
ProcessSamplingTool.cxx:25
iFatras::ProcessSamplingTool
Definition:
ProcessSamplingTool.h:29
PdgToParticleHypothesis.h
iFatras
Definition:
ActsFatrasSimTool.h:55
Trk::ParticleHypothesis
ParticleHypothesis
Definition:
ParticleHypothesis.h:25
ParticleGun_EoverP_Config.mom
mom
Definition:
ParticleGun_EoverP_Config.py:63
AthAlgTool.h
iFatras::ProcessSamplingTool::m_hadInt
BooleanProperty m_hadInt
hadronic interaction
Definition:
ProcessSamplingTool.h:45
IProcessSamplingTool.h
charge
double charge(const T &p)
Definition:
AtlasPID.h:931
Trk::PathLimit
Definition:
HelperStructs.h:34
iFatras::ProcessSamplingTool::~ProcessSamplingTool
virtual ~ProcessSamplingTool()=default
Destructor.
checker_macros.h
Define macros for attributes used to control the static checker.
Generated on Tue Apr 1 2025 21:17:10 for ATLAS Offline Software by
1.8.18