19#include "BDSOutputROOTEventCoords.hh"
22#include "BDSParticleCoords.hh"
23#include "BDSPrimaryVertexInformationV.hh"
28BDSOutputROOTEventCoords::BDSOutputROOTEventCoords():
32BDSOutputROOTEventCoords::~BDSOutputROOTEventCoords()
35void BDSOutputROOTEventCoords::Flush()
51 X.push_back(coords.x / CLHEP::m);
52 Y.push_back(coords.y / CLHEP::m);
53 Z.push_back(coords.z / CLHEP::m);
54 Xp.push_back(coords.xp / CLHEP::rad);
55 Yp.push_back(coords.yp / CLHEP::rad);
56 Zp.push_back(coords.zp / CLHEP::rad);
57 T.push_back(coords.T / CLHEP::ns);
62 for (
const auto& vertexInfo : vertexInfos->
vertices)
63 {
Fill(vertexInfo.primaryVertex.global);}
void Fill(const BDSOutputROOTEventCoords *other)
Fill from another instance.
A set of particle coordinates.