ATLAS Offline Software
Loading...
Searching...
No Matches
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
19
20// STL
21#include <utility>
22
23namespace Trk {
24
26 class EnergyLoss;
27
28}
29
30namespace iFatras {
31
38
39 // deprecated: ATLASSIM-6020
40 class ATLAS_NOT_THREAD_SAFE IEnergyLossSampler : virtual public IAlgTool {
41
42 public:
45
48
53 virtual double dEdX(const Trk::MaterialProperties& mat,
54 double momentum,
55 Trk::ParticleHypothesis particle = Trk::pion) const = 0;
56
65 double momentum,
66 double pathcorrection,
69 bool mpv = false) const = 0;
70
71 };
72
73} // end of namespace
74
75#endif // ISF_FATRASINTERFACES_IENERGYLOSSSAMPLER_H
Define macros for attributes used to control the static checker.
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
This class describes energy loss material effects in the ATLAS tracking EDM.
Definition EnergyLoss.h:34
Material with information about thickness of material.
Interface class IEnergyLossSampler.
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...
DeclareInterfaceID(IEnergyLossSampler, 1, 0)
Creates the InterfaceID and interfaceID() method.
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.
virtual ~IEnergyLossSampler()
Virtual destructor.
Ensure that the ATLAS eigen extensions are properly loaded.
PropDirection
PropDirection, enum for direction of the propagation.
@ alongMomentum
ParticleHypothesis
Enumeration for Particle hypothesis respecting the interaction with material.