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
GenEventData.h
1// -*- C++ -*-
2//
3// This file is part of HepMC
4// Copyright (C) 2014-2023 The HepMC collaboration (see AUTHORS for details)
5//
6#ifndef HEPMC3_DATA_GENEVENTDATA_H
7#define HEPMC3_DATA_GENEVENTDATA_H
18#include <vector>
19#include <string>
20#include "HepMC3/Data/GenParticleData.h"
21#include "HepMC3/Data/GenVertexData.h"
22#include "HepMC3/Units.h"
23
24namespace HepMC3 {
25
30
31 std::vector<GenParticleData> particles;
32 std::vector<GenVertexData> vertices;
33 std::vector<double> weights;
34
36
51 std::vector<int> links1;
52 std::vector<int> links2;
53
54 std::vector<int> attribute_id;
55 std::vector<std::string> attribute_name;
56 std::vector<std::string> attribute_string;
57};
58
59} // namespace HepMC
60
61#endif
Generic 4-vector.
Definition FourVector.h:36
LengthUnit
Position units.
Definition Units.h:32
MomentumUnit
Momentum units.
Definition Units.h:29
Stores serializable event information.
std::vector< int > links2
Second id of the vertex links.
std::vector< std::string > attribute_string
Attribute serialized as string.
std::vector< GenParticleData > particles
Particles.
std::vector< int > links1
First id of the vertex links.
std::vector< std::string > attribute_name
Attribute name.
FourVector event_pos
Event position.
int event_number
Event number.
std::vector< int > attribute_id
Attribute owner id.
Units::LengthUnit length_unit
Length unit.
std::vector< GenVertexData > vertices
Vertices.
std::vector< double > weights
Weights.
Units::MomentumUnit momentum_unit
Momentum unit.