Project
Loading...
Searching...
No Matches
VisualisationCluster.h
Go to the documentation of this file.
1// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3// All rights not expressly granted are reserved.
4//
5// This software is distributed under the terms of the GNU General Public
6// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7//
8// In applying this license CERN does not waive the privileges and immunities
9// granted to it by virtue of its status as an Intergovernmental Organization
10// or submit itself to any jurisdiction.
11
16
17#ifndef ALICE_O2_DATACONVERTER_VISUALISATIONCLUSTER_H
18#define ALICE_O2_DATACONVERTER_VISUALISATIONCLUSTER_H
19
21#include "rapidjson/document.h"
22#include <TVector3.h>
23
24#include <vector>
25#include <ctime>
26
28{
29
35
37{
41 friend class VisualisationEvent;
42
43 public:
44 // Default constructor
47 {
48 mTime = 0;
49 mBGID = 0;
50 mCoordinates[0] = xyz[0];
51 mCoordinates[1] = xyz[1];
52 mCoordinates[2] = xyz[2];
53 }
54
55 float X() const { return mCoordinates[0]; }
56 float Y() const { return mCoordinates[1]; }
57 float Z() const { return mCoordinates[2]; }
58 float Time() const { return mTime; }
59
60 private:
61 void setCoordinates(const float xyz[3]);
62 float mCoordinates[3];
63 float mTime;
65};
66} // namespace o2::event_visualisation
67
68#endif // ALICE_O2_DATACONVERTER_VISUALISATIONCLUSTER_H
int16_t time
Definition RawEventData.h:4
Global index for barrel track: provides provenance (detectors combination), index in respective array...