|
||||
File indexing completed on 2025-01-30 10:11:30
0001 // -*- C++ -*- 0002 // 0003 // This file is part of HepMC 0004 // Copyright (C) 2014-2023 The HepMC collaboration (see AUTHORS for details) 0005 // 0006 #ifndef HEPMC3_DATA_GENVERTEXDATA_H 0007 #define HEPMC3_DATA_GENVERTEXDATA_H 0008 /** 0009 * @file GenVertexData.h 0010 * @brief Definition of \b class GenVertexData 0011 * 0012 * @struct HepMC3::GenVertexData 0013 * @brief Stores serializable vertex information 0014 * 0015 * @ingroup data 0016 * 0017 */ 0018 #include "HepMC3/FourVector.h" 0019 0020 namespace HepMC3 { 0021 0022 struct GenVertexData { 0023 int status; ///< Vertex status 0024 FourVector position; ///< Position in time-space 0025 0026 /// @brief Check if this struct fields are zero 0027 bool is_zero() const { 0028 if( status ) return false; 0029 0030 return position.is_zero(); 0031 } 0032 }; 0033 0034 } // namespace HepMC 0035 0036 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |