19#include "BDSOutputROOTEventCoords.hh"
22#include "BDSParticleCoords.hh"
23#include "BDSPrimaryVertexInformationV.hh"
28BDSOutputROOTEventCoords::BDSOutputROOTEventCoords():
34BDSOutputROOTEventCoords::~BDSOutputROOTEventCoords()
37void BDSOutputROOTEventCoords::Flush()
42void BDSOutputROOTEventCoords::FlushLocal()
58 X.push_back(coords.x / CLHEP::m);
59 Y.push_back(coords.y / CLHEP::m);
60 Z.push_back(coords.z / CLHEP::m);
61 Xp.push_back(coords.xp / CLHEP::rad);
62 Yp.push_back(coords.yp / CLHEP::rad);
63 Zp.push_back(coords.zp / CLHEP::rad);
64 T.push_back(coords.T / CLHEP::ns);
69 for (
const auto& vertexInfo : vertexInfos->vertices)
70 {
Fill(vertexInfo.primaryVertex.global);}
void Fill(const BDSOutputROOTEventCoords *other)
Fill from another instance.
A set of particle coordinates.