PYTHIA  8.303
Public Member Functions | Protected Attributes | List of all members
BeamShape Class Reference

Base class to set beam momentum and interaction spot spread. More...

#include <BeamShape.h>

Public Member Functions

 BeamShape ()
 Constructor.
 
virtual ~BeamShape ()
 Destructor.
 
virtual void init (Settings &settings, Rndm *rndmPtrIn)
 Initialize beam parameters. More...
 
virtual void pick ()
 Set the two beam momentum deviations and the beam vertex. More...
 
Vec4 deltaPA () const
 Methods to read out the choice made with the above method.
 
Vec4 deltaPB () const
 
Vec4 vertex () const
 

Protected Attributes

double deltaPxA
 Values to be set.
 
double deltaPyA
 
double deltaPzA
 
double deltaPxB
 
double deltaPyB
 
double deltaPzB
 
double vertexX
 
double vertexY
 
double vertexZ
 
double vertexT
 
bool allowMomentumSpread
 Parameters of Gaussian parametrizations.
 
bool allowVertexSpread
 
double sigmaPxA
 
double sigmaPyA
 
double sigmaPzA
 
double maxDevA
 
double sigmaPxB
 
double sigmaPyB
 
double sigmaPzB
 
double maxDevB
 
double sigmaVertexX
 
double sigmaVertexY
 
double sigmaVertexZ
 
double maxDevVertex
 
double sigmaTime
 
double maxDevTime
 
double offsetX
 
double offsetY
 
double offsetZ
 
double offsetT
 
RndmrndmPtr
 Pointer to the random number generator.
 

Detailed Description

Base class to set beam momentum and interaction spot spread.

Member Function Documentation

void init ( Settings settings,
Rndm rndmPtrIn 
)
virtual

Initialize beam parameters.

The BeamShape class.

Initialize beam parameters.

Save pointer.

Main flags.

Parameters for beam A momentum spread.

Parameters for beam B momentum spread.

Parameters for beam vertex spread.

Parameters for beam vertex offset.

void pick ( )
virtual

Set the two beam momentum deviations and the beam vertex.

Reset all values.

Set beam A momentum deviation by a three-dimensional Gaussian.

Set beam B momentum deviation by a three-dimensional Gaussian.

Set beam vertex location by a three-dimensional Gaussian.

Set beam collision time by a Gaussian.

Add offset to beam vertex.


The documentation for this class was generated from the following files: