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
GenVertexData.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_GENVERTEXDATA_H
7#define HEPMC3_DATA_GENVERTEXDATA_H
18#include "HepMC3/FourVector.h"
19
20namespace HepMC3 {
21
23 int status;
25
27 bool is_zero() const {
28 if( status ) return false;
29
30 return position.is_zero();
31 }
32};
33
34} // namespace HepMC
35
36#endif
Generic 4-vector.
Definition FourVector.h:36
Stores serializable vertex information.
FourVector position
Position in time-space.
int status
Vertex status.
bool is_zero() const
Check if this struct fields are zero.