19#ifndef ALICE_O2_EVENTVISUALISATION_BASE_VISUALISATIONTRACK_H
20#define ALICE_O2_EVENTVISUALISATION_BASE_VISUALISATIONTRACK_H
25#include "rapidjson/document.h"
36namespace event_visualisation
80 [[nodiscard]]
float getTime()
const {
return mTime; }
90 [[nodiscard]]
float getPhi()
const {
return mPhi; }
97 std::array<float, 3>
getPoint(
size_t i)
const {
return std::array<float, 3>{mPolyX[
i], mPolyY[
i], mPolyZ[
i]}; }
109 void addStartCoordinates(
const float xyz[3]);
118 float mStartCoordinates[3];
128 std::vector<float> mPolyX;
129 std::vector<float> mPolyY;
130 std::vector<float> mPolyZ;
132 std::vector<VisualisationCluster> mClusters;
Global index for barrel track: provides provenance (detectors combination), index in respective array...
size_t getClusterCount() const
std::array< float, 3 > getPoint(size_t i) const
o2::dataformats::GlobalTrackID::Source getSource() const
const float * getStartCoordinates() const
VisualisationCluster & addCluster(const float pos[])
std::string getGIDAsString() const
gsl::span< const VisualisationCluster > getClustersSpan() const
const VisualisationCluster & getCluster(int i) const
void addChild(int childID)
void addPolyPoint(float x, float y, float z)
size_t getPointCount() const
GLdouble GLdouble GLdouble z
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
o2::dataformats::GlobalTrackID gid