ATLAS Offline Software
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 
23 namespace Trk {
24 
25  class MaterialProperties;
26  class EnergyLoss;
27 
28 }
29 
30 namespace iFatras {
31 
39  // deprecated: ATLASSIM-6020
40  class ATLAS_NOT_THREAD_SAFE IEnergyLossSampler : virtual public IAlgTool {
41 
42  public:
44  virtual ~IEnergyLossSampler(){}
45 
48 
53  virtual double dEdX(const Trk::MaterialProperties& mat,
54  double momentum,
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
Trk::ParticleSwitcher::particle
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses
Definition: ParticleHypothesis.h:76
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
mat
GeoMaterial * mat
Definition: LArDetectorConstructionTBEC.cxx:55
PropDirection.h
Trk::alongMomentum
@ alongMomentum
Definition: PropDirection.h:20
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
Definition: ActsFatrasSimTool.h:55
Trk::ParticleHypothesis
ParticleHypothesis
Definition: ParticleHypothesis.h:25
Trk::PropDirection
PropDirection
Definition: PropDirection.h:19
ParticleGun_EoverP_Config.momentum
momentum
Definition: ParticleGun_EoverP_Config.py:63
Trk::pion
@ pion
Definition: ParticleHypothesis.h:29
iFatras::IEnergyLossSampler
Definition: IEnergyLossSampler.h:40
iFatras::IEnergyLossSampler::DeclareInterfaceID
DeclareInterfaceID(IEnergyLossSampler, 1, 0)
Creates the InterfaceID and interfaceID() method.
ParticleHypothesis.h
beamspotman.dir
string dir
Definition: beamspotman.py:623
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::EnergyLoss
This class describes energy loss material effects in the ATLAS tracking EDM.
Definition: EnergyLoss.h:34
Trk::MaterialProperties
Definition: MaterialProperties.h:40
iFatras::IEnergyLossSampler::~IEnergyLossSampler
virtual ~IEnergyLossSampler()
Virtual destructor.
Definition: IEnergyLossSampler.h:44
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...
checker_macros.h
Define macros for attributes used to control the static checker.