Main Page
Namespaces
Classes
Package Documentation
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::mostLikelyLoss
double mostLikelyLoss() const
Return most probable energy loss.
Definition:
EnergyLossSimulator.h:34
EnergyLossSimulator::~EnergyLossSimulator
~EnergyLossSimulator() override
Default Destructor.
Definition:
EnergyLossSimulator.cc:12
Particle
Definition:
Particle.py:1
MaterialEffectsSimulator.h
EnergyLossSimulator::mostProbableLoss
double mostProbableLoss
The most probable enery loss.
Definition:
EnergyLossSimulator.h:47
ParticlePropagator
Definition:
ParticlePropagator.h:28
MaterialEffectsSimulator::Z
double Z
Definition:
MaterialEffectsSimulator.h:88
LandauFluctuationGenerator
Definition:
LandauFluctuationGenerator.h:20
EnergyLossSimulator::deltaMom
const XYZTLorentzVector & deltaMom() const
Returns the actual energy lost.
Definition:
EnergyLossSimulator.h:37
EnergyLossSimulator::theGenerator
LandauFluctuationGenerator * theGenerator
The Landau Fluctuation generator.
Definition:
EnergyLossSimulator.h:41
EnergyLossSimulator::EnergyLossSimulator
EnergyLossSimulator(double A, double Z, double density, double radLen)
Constructor.
Definition:
EnergyLossSimulator.cc:7
EnergyLossSimulator::compute
void compute(ParticlePropagator &Particle, RandomEngineAndDistribution const *) override
The real dE/dx generation and particle update.
Definition:
EnergyLossSimulator.cc:14
MaterialEffectsSimulator::radLen
double radLen
Definition:
MaterialEffectsSimulator.h:90
MaterialEffectsSimulator::density
double density
Definition:
MaterialEffectsSimulator.h:89
MaterialEffectsSimulator::A
double A
Definition:
MaterialEffectsSimulator.h:87
EnergyLossSimulator::deltaP
XYZTLorentzVector deltaP
The actual energy loss.
Definition:
EnergyLossSimulator.h:50
RandomEngineAndDistribution
Definition:
RandomEngineAndDistribution.h:18
EnergyLossSimulator
Definition:
EnergyLossSimulator.h:25
MaterialEffectsSimulator
Definition:
MaterialEffectsSimulator.h:25
XYZTLorentzVector
math::XYZTLorentzVector XYZTLorentzVector
Definition:
RawParticle.h:25
Generated for CMSSW Reference Manual by
1.8.11