ATLAS Offline Software
Public Member Functions | List of all members
iFatras::IEnergyLossSampler Class Referenceabstract

#include <IEnergyLossSampler.h>

Inheritance diagram for iFatras::IEnergyLossSampler:
Collaboration diagram for iFatras::IEnergyLossSampler:

Public Member Functions

virtual ~IEnergyLossSampler ()
 Virtual destructor. More...
 
 DeclareInterfaceID (IEnergyLossSampler, 1, 0)
 Creates the InterfaceID and interfaceID() method. More...
 
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. More...
 
virtual Trk::EnergyLossenergyLoss (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 path. More...
 

Detailed Description

Interface class IEnergyLossSampler

Author
Noemi.nosp@m..Cal.nosp@m.ace@c.nosp@m.ern..nosp@m.ch, Andre.nosp@m.as.S.nosp@m.alzbu.nosp@m.rger.nosp@m.@cern.nosp@m..ch

Definition at line 40 of file IEnergyLossSampler.h.

Constructor & Destructor Documentation

◆ ~IEnergyLossSampler()

virtual iFatras::IEnergyLossSampler::~IEnergyLossSampler ( )
inlinevirtual

Virtual destructor.

Definition at line 44 of file IEnergyLossSampler.h.

44 {}

Member Function Documentation

◆ DeclareInterfaceID()

iFatras::IEnergyLossSampler::DeclareInterfaceID ( IEnergyLossSampler  ,
,
 
)

Creates the InterfaceID and interfaceID() method.

◆ dEdX()

virtual double iFatras::IEnergyLossSampler::dEdX ( const Trk::MaterialProperties mat,
double  momentum,
Trk::ParticleHypothesis  particle = Trk::pion 
) const
pure virtual

dEdX calculation when providing MaterialProperties, a momentum, and a ParicleHypothesis.

  • Units: [Mev/mm]

◆ energyLoss()

virtual Trk::EnergyLoss* iFatras::IEnergyLossSampler::energyLoss ( const Trk::MaterialProperties mat,
double  momentum,
double  pathcorrection,
Trk::PropDirection  dir = Trk::alongMomentum,
Trk::ParticleHypothesis  particle = Trk::pion,
bool  mpv = false 
) const
pure virtual

deltaE calculation using dEdX and integrating along pathlength, assuming constant dEdX during for the path.

  • The sign depends on the given propagation direction
  • mpv steers the most probable energy loss
  • Units: [MeV]

The documentation for this class was generated from the following file: