Belle II Software development
|
Struct to keep all necessary parameters for the particle gun. More...
#include <ParticleGun.h>
Public Attributes | |
EDistribution | momentumDist = c_fixedValue |
Distribution to use for momentum generation. | |
EDistribution | phiDist = c_fixedValue |
Distribution to use for azimuth angle generation. | |
EDistribution | thetaDist = c_fixedValue |
Distribution to use for polar angle generation. | |
EDistribution | xVertexDist = c_fixedValue |
Distribution to use for x vertex generation. | |
EDistribution | yVertexDist = c_fixedValue |
Distribution to use for y vertex generation. | |
EDistribution | zVertexDist = c_fixedValue |
Distribution to use for z vertex generation. | |
EDistribution | timeDist = c_fixedValue |
Distribution to use for time generation. | |
double | nTracks |
Number of tracks to generate per event. | |
std::vector< int > | pdgCodes = {} |
List of PDG particle codes to pick from when generating particles. | |
std::vector< double > | momentumParams = {0} |
Parameters for the momentum generation, meaning depends on chosen distribution. | |
std::vector< double > | phiParams = {0} |
Parameters for the azimuth angle generation, meaning depends on chosen distribution. | |
std::vector< double > | thetaParams = {0} |
Parameters for the polar angle generation, meaning depends on chosen distribution. | |
std::vector< double > | xVertexParams = {0} |
Parameters for the x vertex generation, meaning depends on chosen distribution. | |
std::vector< double > | yVertexParams = {0} |
Parameters for the y vertex generation, meaning depends on chosen distribution. | |
std::vector< double > | zVertexParams = {0} |
Parameters for the z vertex generation, meaning depends on chosen distribution. | |
std::vector< double > | timeParams = {0} |
Parameters for the time generation, meaning depends on chosen distribution. | |
bool | independentVertices = false |
If false, all particles of one event will have the same vertex, if true the vertex of each particle will be generated independently. | |
bool | varyNumberOfTracks = true |
If true, the number of tracks per event will fluctuate according to Poisson distribution. | |
bool | fixedMomentumPerEvent = false |
generates particle momentum according to the specified distribution and assigns this momentum to all particles generated for one event | |
Struct to keep all necessary parameters for the particle gun.
Definition at line 65 of file ParticleGun.h.
bool fixedMomentumPerEvent = false |
generates particle momentum according to the specified distribution and assigns this momentum to all particles generated for one event
Definition at line 109 of file ParticleGun.h.
bool independentVertices = false |
If false, all particles of one event will have the same vertex, if true the vertex of each particle will be generated independently.
Definition at line 102 of file ParticleGun.h.
EDistribution momentumDist = c_fixedValue |
Distribution to use for momentum generation.
Definition at line 67 of file ParticleGun.h.
std::vector<double> momentumParams = {0} |
Parameters for the momentum generation, meaning depends on chosen distribution.
Definition at line 85 of file ParticleGun.h.
double nTracks |
Number of tracks to generate per event.
Definition at line 81 of file ParticleGun.h.
std::vector<int> pdgCodes = {} |
List of PDG particle codes to pick from when generating particles.
Definition at line 83 of file ParticleGun.h.
EDistribution phiDist = c_fixedValue |
Distribution to use for azimuth angle generation.
Definition at line 69 of file ParticleGun.h.
std::vector<double> phiParams = {0} |
Parameters for the azimuth angle generation, meaning depends on chosen distribution.
Definition at line 87 of file ParticleGun.h.
EDistribution thetaDist = c_fixedValue |
Distribution to use for polar angle generation.
Definition at line 71 of file ParticleGun.h.
std::vector<double> thetaParams = {0} |
Parameters for the polar angle generation, meaning depends on chosen distribution.
Definition at line 89 of file ParticleGun.h.
EDistribution timeDist = c_fixedValue |
Distribution to use for time generation.
Definition at line 79 of file ParticleGun.h.
std::vector<double> timeParams = {0} |
Parameters for the time generation, meaning depends on chosen distribution.
Definition at line 97 of file ParticleGun.h.
bool varyNumberOfTracks = true |
If true, the number of tracks per event will fluctuate according to Poisson distribution.
Definition at line 105 of file ParticleGun.h.
EDistribution xVertexDist = c_fixedValue |
Distribution to use for x vertex generation.
Definition at line 73 of file ParticleGun.h.
std::vector<double> xVertexParams = {0} |
Parameters for the x vertex generation, meaning depends on chosen distribution.
Definition at line 91 of file ParticleGun.h.
EDistribution yVertexDist = c_fixedValue |
Distribution to use for y vertex generation.
Definition at line 75 of file ParticleGun.h.
std::vector<double> yVertexParams = {0} |
Parameters for the y vertex generation, meaning depends on chosen distribution.
Definition at line 93 of file ParticleGun.h.
EDistribution zVertexDist = c_fixedValue |
Distribution to use for z vertex generation.
Definition at line 77 of file ParticleGun.h.
std::vector<double> zVertexParams = {0} |
Parameters for the z vertex generation, meaning depends on chosen distribution.
Definition at line 95 of file ParticleGun.h.