FastSimulation
MaterialEffects
interface
MultipleScatteringSimulator.h
Go to the documentation of this file.
1
#ifndef MULTIPLESCATTERINGSIMULATOR_H
2
#define MULTIPLESCATTERINGSIMULATOR_H
3
4
#include "
FastSimulation/MaterialEffects/interface/MaterialEffectsSimulator.h
"
5
23
class
ParticlePropagator
;
24
class
RandomEngineAndDistribution
;
25
26
class
MultipleScatteringSimulator
:
public
MaterialEffectsSimulator
{
27
public
:
29
MultipleScatteringSimulator
(
double
A
,
double
Z
,
double
density
,
double
radLen
);
30
32
~MultipleScatteringSimulator
()
override
{};
33
34
private
:
36
void
compute
(
ParticlePropagator
&
Particle
,
RandomEngineAndDistribution
const
*)
override
;
37
38
private
:
40
double
sqr12
;
41
};
42
43
#endif
MaterialEffectsSimulator.h
MultipleScatteringSimulator::MultipleScatteringSimulator
MultipleScatteringSimulator(double A, double Z, double density, double radLen)
Default Constructor.
Definition:
MultipleScatteringSimulator.cc:6
MultipleScatteringSimulator
Definition:
MultipleScatteringSimulator.h:26
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
MultipleScatteringSimulator::sqr12
double sqr12
Save (a tiny bit of) time.
Definition:
MultipleScatteringSimulator.h:40
MultipleScatteringSimulator::compute
void compute(ParticlePropagator &Particle, RandomEngineAndDistribution const *) override
The real dE/dx generation and particle update.
Definition:
MultipleScatteringSimulator.cc:11
MaterialEffectsSimulator::radLen
double radLen
Definition:
MaterialEffectsSimulator.h:90
Particle
Definition:
Particle.py:1
MultipleScatteringSimulator::~MultipleScatteringSimulator
~MultipleScatteringSimulator() override
Default Destructor.
Definition:
MultipleScatteringSimulator.h:32
RandomEngineAndDistribution
Definition:
RandomEngineAndDistribution.h:18
Generated for CMSSW Reference Manual by
1.8.16