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