HepMC3 event record library
Data Fields

Stores serializable event information. More...

#include <GenEventData.h>

+ Collaboration diagram for GenEventData:

Data Fields

int event_number
 Event number. More...
 
Units::MomentumUnit momentum_unit
 Momentum unit. More...
 
Units::LengthUnit length_unit
 Length unit. More...
 
std::vector< GenParticleDataparticles
 Particles. More...
 
std::vector< GenVertexDatavertices
 Vertices. More...
 
std::vector< double > weights
 Weights. More...
 
FourVector event_pos
 Event position. More...
 
std::vector< int > links1
 First id of the vertex links. More...
 
std::vector< int > links2
 Second id of the vertex links. More...
 
std::vector< int > attribute_id
 Attribute owner id. More...
 
std::vector< std::string > attribute_name
 Attribute name. More...
 
std::vector< std::string > attribute_string
 Attribute serialized as string. More...
 

Detailed Description

Stores serializable event information.

Definition at line 26 of file GenEventData.h.

Field Documentation

std::vector<int> attribute_id

Attribute owner id.

Definition at line 54 of file GenEventData.h.

std::vector<std::string> attribute_name

Attribute name.

Definition at line 55 of file GenEventData.h.

std::vector<std::string> attribute_string

Attribute serialized as string.

Definition at line 56 of file GenEventData.h.

int event_number

Event number.

Definition at line 27 of file GenEventData.h.

FourVector event_pos

Event position.

Definition at line 35 of file GenEventData.h.

Units::LengthUnit length_unit

Length unit.

Definition at line 29 of file GenEventData.h.

std::vector<int> links1

First id of the vertex links.

If this id is positive - it is the incoming particle id of a vertex which id is written in GenEventData::links2

If this id is negative - it's the id of a vertex which outgoing particle id is written in GenEventData::links2

The links1[i] points to links2[i]. In case links1[i] is particle, links2[i] is end vertex. In case links2[i] is vertex, links2[i] is outgoing particle. An example of usage is given in documentation.

Definition at line 51 of file GenEventData.h.

std::vector<int> links2

Second id of the vertex links.

Definition at line 52 of file GenEventData.h.

Units::MomentumUnit momentum_unit

Momentum unit.

Definition at line 28 of file GenEventData.h.

std::vector<GenParticleData> particles

Particles.

Definition at line 31 of file GenEventData.h.

std::vector<GenVertexData> vertices

Vertices.

Definition at line 32 of file GenEventData.h.

std::vector<double> weights

Weights.

Definition at line 33 of file GenEventData.h.


The documentation for this struct was generated from the following file: