MARLEY (Model of Argon Reaction Low Energy Yields) v2.0.0
A Monte Carlo event generator for tens-of-MeV neutrino interactions
Loading...
Searching...
No Matches
HepMC3::GenEventData Struct Reference

Stores serializable event information. More...

#include <GenEventData.h>

Public Attributes

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

Detailed Description

Stores serializable event information.

Definition at line 26 of file GenEventData.h.

Member Data Documentation

◆ attribute_id

std::vector<int> HepMC3::GenEventData::attribute_id

Attribute owner id.

Definition at line 54 of file GenEventData.h.

Referenced by HepMC3::GenEvent::read_data(), and HepMC3::GenEvent::write_data().

◆ attribute_name

std::vector<std::string> HepMC3::GenEventData::attribute_name

Attribute name.

Definition at line 55 of file GenEventData.h.

Referenced by HepMC3::GenEvent::read_data(), and HepMC3::GenEvent::write_data().

◆ attribute_string

std::vector<std::string> HepMC3::GenEventData::attribute_string

Attribute serialized as string.

Definition at line 56 of file GenEventData.h.

Referenced by HepMC3::GenEvent::read_data(), and HepMC3::GenEvent::write_data().

◆ event_number

int HepMC3::GenEventData::event_number

Event number.

Definition at line 27 of file GenEventData.h.

Referenced by HepMC3::GenEvent::read_data(), and HepMC3::GenEvent::write_data().

◆ event_pos

FourVector HepMC3::GenEventData::event_pos

Event position.

Definition at line 35 of file GenEventData.h.

Referenced by HepMC3::GenEvent::read_data(), and HepMC3::GenEvent::write_data().

◆ length_unit

Units::LengthUnit HepMC3::GenEventData::length_unit

Length unit.

Definition at line 29 of file GenEventData.h.

Referenced by HepMC3::GenEvent::read_data(), and HepMC3::GenEvent::write_data().

◆ links1

std::vector<int> HepMC3::GenEventData::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.

Referenced by HepMC3::GenEvent::read_data(), and HepMC3::GenEvent::write_data().

◆ links2

std::vector<int> HepMC3::GenEventData::links2

Second id of the vertex links.

Definition at line 52 of file GenEventData.h.

Referenced by HepMC3::GenEvent::read_data(), and HepMC3::GenEvent::write_data().

◆ momentum_unit

Units::MomentumUnit HepMC3::GenEventData::momentum_unit

Momentum unit.

Definition at line 28 of file GenEventData.h.

Referenced by HepMC3::GenEvent::read_data(), and HepMC3::GenEvent::write_data().

◆ particles

std::vector<GenParticleData> HepMC3::GenEventData::particles

Particles.

Definition at line 31 of file GenEventData.h.

Referenced by HepMC3::GenEvent::read_data(), and HepMC3::GenEvent::write_data().

◆ vertices

std::vector<GenVertexData> HepMC3::GenEventData::vertices

Vertices.

Definition at line 32 of file GenEventData.h.

Referenced by HepMC3::GenEvent::read_data(), and HepMC3::GenEvent::write_data().

◆ weights

std::vector<double> HepMC3::GenEventData::weights

Weights.

Definition at line 33 of file GenEventData.h.

Referenced by HepMC3::GenEvent::read_data(), and HepMC3::GenEvent::write_data().


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