ATLAS Offline Software
|
#include <McEnergyLossUpdator.h>
Public Member Functions | |
McEnergyLossUpdator (const std::string &, const std::string &, const IInterface *) | |
Constructor with AlgTool parameters. More... | |
virtual | ~McEnergyLossUpdator ()=default |
Destructor. More... | |
virtual StatusCode | initialize () override |
AlgTool initialise method. More... | |
virtual double | dEdX (const Trk::MaterialProperties &materialProperties, double momentum, Trk::ParticleHypothesis particleHypothesis=Trk::pion) const override |
IEnergyLossUpdator public method to compute dEdX. More... | |
virtual Trk::EnergyLoss | energyLoss (const Trk::MaterialProperties &materialProperties, double momentum, double pathCorrection, Trk::PropDirection direction=Trk::alongMomentum, Trk::ParticleHypothesis particleHypothesis=Trk::pion, bool usePDGformula=false) const override |
IEnergyLossUpdator public method to compute the mean and variance of the energy loss. More... | |
virtual Trk::EnergyLoss | updateEnergyLoss (Trk::EnergyLoss &, double, double, double, double, int &) const override |
Dummy methodes imposed by public interface - cleanup. More... | |
virtual void | getX0ElossScales (int, double, double, double &, double &) const override |
Routine to calculate X0 and Eloss scale factors for the Calorimeter and Muon System. More... | |
Private Attributes | |
PublicToolHandle< IEnergyLossUpdator > | m_energyLossUpdator {this, "EnergyLossUpdator", "Trk::EnergyLossUpdator/AtlasEnergyLossUpdator"} |
Dummy methods end here. More... | |
IntegerProperty | m_energyLossDistribution {this, "EnergyLossDistribution", 3} |
include energy loss straggling or not ( 0 == none, 1 == gauss, 2 == landau) More... | |
ServiceHandle< IAtRndmGenSvc > | m_rndGenSvc {this, "RandomNumberService", "AtDSFMTGenSvc"} |
Random Generator service - not thread-safe. More... | |
CLHEP::HepRandomEngine * | m_randomEngine {} |
Random engine More... | |
StringProperty | m_randomEngineName {this, "RandomStreamName", "FatrasRnd"} |
Name of the random number stream. More... | |
BooleanProperty | m_usePDGformula {this, "UsePDG_EnergyLossFormula", false} |
Updator for a eloss of a track on a Trk::Layer, it extends the IEnergyLossUpdtor interface
Definition at line 35 of file McEnergyLossUpdator.h.
iFatras::McEnergyLossUpdator::McEnergyLossUpdator | ( | const std::string & | type, |
const std::string & | name, | ||
const IInterface * | parent | ||
) |
Constructor with AlgTool parameters.
Definition at line 18 of file McEnergyLossUpdator.cxx.
|
virtualdefault |
Destructor.
|
overridevirtual |
IEnergyLossUpdator public method to compute dEdX.
Definition at line 46 of file McEnergyLossUpdator.cxx.
|
overridevirtual |
IEnergyLossUpdator public method to compute the mean and variance of the energy loss.
Definition at line 55 of file McEnergyLossUpdator.cxx.
|
inlineoverridevirtual |
Routine to calculate X0 and Eloss scale factors for the Calorimeter and Muon System.
Definition at line 71 of file McEnergyLossUpdator.h.
|
overridevirtual |
|
inlineoverridevirtual |
Dummy methodes imposed by public interface - cleanup.
Method to recalculate Eloss values for the fit setting an elossFlag using as an input the detailed Eloss information Calorimeter energy, error momentum and momentum error
Definition at line 67 of file McEnergyLossUpdator.h.
|
private |
include energy loss straggling or not ( 0 == none, 1 == gauss, 2 == landau)
Definition at line 77 of file McEnergyLossUpdator.h.
|
private |
Dummy methods end here.
ToolHandle to the energy loss updator
Definition at line 76 of file McEnergyLossUpdator.h.
|
private |
Random engine
Definition at line 82 of file McEnergyLossUpdator.h.
|
private |
Name of the random number stream.
Definition at line 83 of file McEnergyLossUpdator.h.
|
private |
Random Generator service - not thread-safe.
Definition at line 80 of file McEnergyLossUpdator.h.
|
private |
Definition at line 84 of file McEnergyLossUpdator.h.