|
gdata
|
Serialization record for one generated particle in event output. More...
#include <gEventDataCollection.h>
Data Fields | |
| std::string | name |
| Particle name when known, otherwise a source-format identifier. | |
| int | pid = 0 |
| PDG id or source particle id. | |
| int | type = 1 |
Generator source type. For Lund input, type == 1 means Geant4-propagated. | |
| int | multiplicity = 1 |
| Number of copies represented by this row. | |
| double | p = 0 |
| Momentum magnitude in GEMC internal units. | |
| double | theta = 0 |
| Polar angle in GEMC internal angular units. | |
| double | phi = 0 |
| Azimuthal angle in GEMC internal angular units. | |
| double | vx = 0 |
| Vertex x coordinate in GEMC internal length units. | |
| double | vy = 0 |
| Vertex y coordinate in GEMC internal length units. | |
| double | vz = 0 |
| Vertex z coordinate in GEMC internal length units. | |
This lightweight structure mirrors GParticleRecord without depending on the gparticle module from gdata. It is used by event streamers to publish generated-particle metadata alongside detector hit banks.
The generated bank contains inline -gparticle definitions and every parsed -gparticlefile row. The generated_tracked bank contains inline -gparticle definitions and only the file rows propagated in Geant4, normally rows with type == 1.
Definition at line 55 of file gEventDataCollection.h.
| int GGeneratedParticleData::multiplicity = 1 |
Definition at line 67 of file gEventDataCollection.h.
| std::string GGeneratedParticleData::name |
Definition at line 58 of file gEventDataCollection.h.
| double GGeneratedParticleData::p = 0 |
Definition at line 70 of file gEventDataCollection.h.
| double GGeneratedParticleData::phi = 0 |
Definition at line 76 of file gEventDataCollection.h.
| int GGeneratedParticleData::pid = 0 |
Definition at line 61 of file gEventDataCollection.h.
| double GGeneratedParticleData::theta = 0 |
Definition at line 73 of file gEventDataCollection.h.
| int GGeneratedParticleData::type = 1 |
Definition at line 64 of file gEventDataCollection.h.
| double GGeneratedParticleData::vx = 0 |
Definition at line 79 of file gEventDataCollection.h.
| double GGeneratedParticleData::vy = 0 |
Definition at line 82 of file gEventDataCollection.h.
| double GGeneratedParticleData::vz = 0 |
Definition at line 85 of file gEventDataCollection.h.