ATLAS Offline Software
Loading...
Searching...
No Matches
iFatras::IEnergyLossSampler Class Referenceabstract

Interface class IEnergyLossSampler. More...

#include <IEnergyLossSampler.h>

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

Public Member Functions

virtual ~IEnergyLossSampler ()
 Virtual destructor.
 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 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.

Detailed Description

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 ,
1 ,
0  )

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: