FastSimulation
MaterialEffects
interface
EnergyLossSimulator.h
Go to the documentation of this file.
1
#ifndef ENERGYLOSSSIMULATOR_H
2
#define ENERGYLOSSSIMULATOR_H
3
4
#include "
FastSimulation/MaterialEffects/interface/MaterialEffectsSimulator.h
"
5
22
class
RandomEngineAndDistribution
;
23
class
LandauFluctuationGenerator
;
24
25
class
EnergyLossSimulator
:
public
MaterialEffectsSimulator
{
26
public
:
28
EnergyLossSimulator
(
double
A
,
double
Z
,
double
density
,
double
radLen
);
29
31
~EnergyLossSimulator
()
override
;
32
34
inline
double
mostLikelyLoss
()
const
{
return
mostProbableLoss
; }
35
37
inline
const
XYZTLorentzVector
&
deltaMom
()
const
{
return
deltaP
; }
38
39
private
:
41
LandauFluctuationGenerator
*
theGenerator
;
42
44
void
compute
(
ParticlePropagator
&
Particle
,
RandomEngineAndDistribution
const
*)
override
;
45
47
double
mostProbableLoss
;
48
50
XYZTLorentzVector
deltaP
;
51
};
52
53
#endif
EnergyLossSimulator::mostProbableLoss
double mostProbableLoss
The most probable enery loss.
Definition:
EnergyLossSimulator.h:47
MaterialEffectsSimulator.h
EnergyLossSimulator::mostLikelyLoss
double mostLikelyLoss() const
Return most probable energy loss.
Definition:
EnergyLossSimulator.h:34
EnergyLossSimulator::deltaP
XYZTLorentzVector deltaP
The actual energy loss.
Definition:
EnergyLossSimulator.h:50
XYZTLorentzVector
math::XYZTLorentzVector XYZTLorentzVector
Definition:
RawParticle.h:25
EnergyLossSimulator::compute
void compute(ParticlePropagator &Particle, RandomEngineAndDistribution const *) override
The real dE/dx generation and particle update.
Definition:
EnergyLossSimulator.cc:14
MaterialEffectsSimulator::Z
double Z
Definition:
MaterialEffectsSimulator.h:88
MaterialEffectsSimulator
Definition:
MaterialEffectsSimulator.h:25
MaterialEffectsSimulator::density
double density
Definition:
MaterialEffectsSimulator.h:89
A
ParticlePropagator
Definition:
ParticlePropagator.h:28
EnergyLossSimulator::~EnergyLossSimulator
~EnergyLossSimulator() override
Default Destructor.
Definition:
EnergyLossSimulator.cc:12
MaterialEffectsSimulator::radLen
double radLen
Definition:
MaterialEffectsSimulator.h:90
EnergyLossSimulator::EnergyLossSimulator
EnergyLossSimulator(double A, double Z, double density, double radLen)
Constructor.
Definition:
EnergyLossSimulator.cc:7
EnergyLossSimulator::deltaMom
const XYZTLorentzVector & deltaMom() const
Returns the actual energy lost.
Definition:
EnergyLossSimulator.h:37
Particle
Definition:
Particle.py:1
EnergyLossSimulator
Definition:
EnergyLossSimulator.h:25
EnergyLossSimulator::theGenerator
LandauFluctuationGenerator * theGenerator
The Landau Fluctuation generator.
Definition:
EnergyLossSimulator.h:41
LandauFluctuationGenerator
Definition:
LandauFluctuationGenerator.h:20
RandomEngineAndDistribution
Definition:
RandomEngineAndDistribution.h:18
Generated for CMSSW Reference Manual by
1.8.16