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