ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Simulation
ISF
ISF_Fatras
ISF_FatrasInterfaces
ISF_FatrasInterfaces
IEnergyLossSampler.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// IEnergyLossSampler.h, (c) ATLAS Detector software
8
9
#ifndef ISF_FATRASINTERFACES_IENERGYLOSSSAMPLER_H
10
#define ISF_FATRASINTERFACES_IENERGYLOSSSAMPLER_H
11
12
// Gaudi
13
#include "GaudiKernel/IAlgTool.h"
14
15
// Trk
16
#include "
TrkEventPrimitives/PropDirection.h
"
17
#include "
TrkEventPrimitives/ParticleHypothesis.h
"
18
#include "
CxxUtils/checker_macros.h
"
19
20
// STL
21
#include <utility>
22
23
namespace
Trk
{
24
25
class
MaterialProperties
;
26
class
EnergyLoss
;
27
28
}
29
30
namespace
iFatras
{
31
38
39
// deprecated: ATLASSIM-6020
40
class
ATLAS_NOT_THREAD_SAFE
IEnergyLossSampler
:
virtual
public
IAlgTool {
41
42
public
:
44
virtual
~IEnergyLossSampler
(){}
45
47
DeclareInterfaceID
(
IEnergyLossSampler
, 1, 0);
48
53
virtual
double
dEdX
(
const
Trk::MaterialProperties
& mat,
54
double
momentum,
55
Trk::ParticleHypothesis
particle =
Trk::pion
)
const
= 0;
56
64
virtual
Trk::EnergyLoss
*
energyLoss
(
const
Trk::MaterialProperties
& mat,
65
double
momentum,
66
double
pathcorrection,
67
Trk::PropDirection
dir=
Trk::alongMomentum
,
68
Trk::ParticleHypothesis
particle=
Trk::pion
,
69
bool
mpv =
false
)
const
= 0;
70
71
};
72
73
}
// end of namespace
74
75
#endif
// ISF_FATRASINTERFACES_IENERGYLOSSSAMPLER_H
ParticleHypothesis.h
PropDirection.h
checker_macros.h
Define macros for attributes used to control the static checker.
ATLAS_NOT_THREAD_SAFE
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
Definition
checker_macros.h:212
Trk::EnergyLoss
This class describes energy loss material effects in the ATLAS tracking EDM.
Definition
EnergyLoss.h:34
Trk::MaterialProperties
Material with information about thickness of material.
Definition
MaterialProperties.h:40
iFatras::IEnergyLossSampler
Interface class IEnergyLossSampler.
Definition
IEnergyLossSampler.h:40
iFatras::IEnergyLossSampler::energyLoss
virtual Trk::EnergyLoss * energyLoss(const Trk::MaterialProperties &mat, double momentum, double pathcorrection, Trk::PropDirection dir=Trk::alongMomentum, Trk::ParticleHypothesis particle=Trk::pion, bool mpv=false) const =0
deltaE calculation using dEdX and integrating along pathlength, assuming constant dEdX during for the...
iFatras::IEnergyLossSampler::DeclareInterfaceID
DeclareInterfaceID(IEnergyLossSampler, 1, 0)
Creates the InterfaceID and interfaceID() method.
iFatras::IEnergyLossSampler::dEdX
virtual double dEdX(const Trk::MaterialProperties &mat, double momentum, Trk::ParticleHypothesis particle=Trk::pion) const =0
dEdX calculation when providing MaterialProperties, a momentum, and a ParicleHypothesis.
iFatras::IEnergyLossSampler::~IEnergyLossSampler
virtual ~IEnergyLossSampler()
Virtual destructor.
Definition
IEnergyLossSampler.h:44
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
Trk::PropDirection
PropDirection
PropDirection, enum for direction of the propagation.
Definition
PropDirection.h:19
Trk::alongMomentum
@ alongMomentum
Definition
PropDirection.h:20
Trk::ParticleHypothesis
ParticleHypothesis
Enumeration for Particle hypothesis respecting the interaction with material.
Definition
ParticleHypothesis.h:28
Trk::pion
@ pion
Definition
ParticleHypothesis.h:32
iFatras
Definition
ActsFatrasSimTool.h:63
Generated on
for ATLAS Offline Software by
1.17.0