Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
FastSimulation
MaterialEffects
interface
BremsstrahlungSimulator.h
Go to the documentation of this file.
1
#ifndef BREMSSTRAHLUNGSIMULATOR_H
2
#define BREMSSTRAHLUNGSIMULATOR_H
3
4
#include "
FastSimulation/MaterialEffects/interface/MaterialEffectsSimulator.h
"
5
23
class
ParticlePropagator
;
24
class
RandomEngine
;
25
26
class
BremsstrahlungSimulator
:
public
MaterialEffectsSimulator
27
{
28
public
:
29
31
BremsstrahlungSimulator
(
double
photonEnergyCut,
32
double
photonFractECut,
33
const
RandomEngine
* engine);
34
36
~BremsstrahlungSimulator
() {}
37
38
private
:
39
41
double
photonEnergy
;
42
44
double
photonFractE
;
45
47
double
xmin
;
48
50
unsigned
int
poisson
(
double
ymu);
51
53
void
compute
(
ParticlePropagator
&Particle);
54
56
XYZTLorentzVector
brem
(
ParticlePropagator
&
p
)
const
;
57
59
double
gbteth
(
const
double
ener,
60
const
double
partm,
61
const
double
efrac)
const
;
62
63
};
64
#endif
BremsstrahlungSimulator::compute
void compute(ParticlePropagator &Particle)
Generate Bremsstrahlung photons.
Definition:
BremsstrahlungSimulator.cc:21
RandomEngine
Definition:
RandomEngine.h:18
MaterialEffectsSimulator.h
ParticlePropagator
Definition:
ParticlePropagator.h:27
BremsstrahlungSimulator::poisson
unsigned int poisson(double ymu)
Generate numbers according to a Poisson distribution of mean ymu.
Definition:
BremsstrahlungSimulator.cc:126
BremsstrahlungSimulator::~BremsstrahlungSimulator
~BremsstrahlungSimulator()
Default destructor.
Definition:
BremsstrahlungSimulator.h:36
BremsstrahlungSimulator
Definition:
BremsstrahlungSimulator.h:26
BremsstrahlungSimulator::brem
XYZTLorentzVector brem(ParticlePropagator &p) const
Compute Brem photon energy and angles, if any.
Definition:
BremsstrahlungSimulator.cc:72
BremsstrahlungSimulator::gbteth
double gbteth(const double ener, const double partm, const double efrac) const
A universal angular distribution - still from GEANT.
Definition:
BremsstrahlungSimulator.cc:106
AlCaHLTBitMon_ParallelJobs.p
tuple p
Definition:
AlCaHLTBitMon_ParallelJobs.py:152
BremsstrahlungSimulator::xmin
double xmin
The fractional photon energy cut (determined from the above two)
Definition:
BremsstrahlungSimulator.h:47
BremsstrahlungSimulator::BremsstrahlungSimulator
BremsstrahlungSimulator(double photonEnergyCut, double photonFractECut, const RandomEngine *engine)
Constructor.
Definition:
BremsstrahlungSimulator.cc:7
BremsstrahlungSimulator::photonEnergy
double photonEnergy
The minimum photon energy to be radiated, in GeV.
Definition:
BremsstrahlungSimulator.h:41
MaterialEffectsSimulator
Definition:
MaterialEffectsSimulator.h:23
BremsstrahlungSimulator::photonFractE
double photonFractE
The minimum photon fractional energy (wrt that of the electron)
Definition:
BremsstrahlungSimulator.h:44
XYZTLorentzVector
math::XYZTLorentzVector XYZTLorentzVector
Definition:
RawParticle.h:15
Generated for CMSSW Reference Manual by
1.8.5