ATLAS Offline Software
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:756
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 Fri Jan 10 2025 21:16:20 for ATLAS Offline Software by
1.8.18