Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
23
class
RandomEngine
;
24
class
LandauFluctuationGenerator
;
25
26
class
EnergyLossSimulator
:
public
MaterialEffectsSimulator
27
{
28
public
:
29
31
EnergyLossSimulator
(
const
RandomEngine
* engine,
32
double
A
,
double
Z
,
double
density
,
double
radLen
);
33
35
~EnergyLossSimulator
();
36
38
inline
double
mostLikelyLoss
()
const
{
return
mostProbableLoss
; }
39
41
inline
const
XYZTLorentzVector
&
deltaMom
()
const
{
return
deltaP
; }
42
43
private
:
45
LandauFluctuationGenerator
*
theGenerator
;
46
48
void
compute
(
ParticlePropagator
&Particle);
49
51
double
mostProbableLoss
;
52
54
XYZTLorentzVector
deltaP
;
55
56
};
57
58
#endif
EnergyLossSimulator::mostLikelyLoss
double mostLikelyLoss() const
Return most probable energy loss.
Definition:
EnergyLossSimulator.h:38
EnergyLossSimulator::EnergyLossSimulator
EnergyLossSimulator(const RandomEngine *engine, double A, double Z, double density, double radLen)
Constructor.
Definition:
EnergyLossSimulator.cc:7
RandomEngine
Definition:
RandomEngine.h:18
EnergyLossSimulator::compute
void compute(ParticlePropagator &Particle)
The real dE/dx generation and particle update.
Definition:
EnergyLossSimulator.cc:23
MaterialEffectsSimulator.h
EnergyLossSimulator::mostProbableLoss
double mostProbableLoss
The most probable enery loss.
Definition:
EnergyLossSimulator.h:51
ParticlePropagator
Definition:
ParticlePropagator.h:27
MaterialEffectsSimulator::Z
double Z
Definition:
MaterialEffectsSimulator.h:93
LandauFluctuationGenerator
Definition:
LandauFluctuationGenerator.h:20
EnergyLossSimulator::deltaMom
const XYZTLorentzVector & deltaMom() const
Returns the actual energy lost.
Definition:
EnergyLossSimulator.h:41
EnergyLossSimulator::~EnergyLossSimulator
~EnergyLossSimulator()
Default Destructor.
Definition:
EnergyLossSimulator.cc:16
EnergyLossSimulator::theGenerator
LandauFluctuationGenerator * theGenerator
The Landau Fluctuation generator.
Definition:
EnergyLossSimulator.h:45
MaterialEffectsSimulator::radLen
double radLen
Definition:
MaterialEffectsSimulator.h:95
MaterialEffectsSimulator::density
double density
Definition:
MaterialEffectsSimulator.h:94
MaterialEffectsSimulator::A
double A
Definition:
MaterialEffectsSimulator.h:92
EnergyLossSimulator::deltaP
XYZTLorentzVector deltaP
The actual energy loss.
Definition:
EnergyLossSimulator.h:54
EnergyLossSimulator
Definition:
EnergyLossSimulator.h:26
MaterialEffectsSimulator
Definition:
MaterialEffectsSimulator.h:23
XYZTLorentzVector
math::XYZTLorentzVector XYZTLorentzVector
Definition:
RawParticle.h:15
Generated for CMSSW Reference Manual by
1.8.5