Project
Loading...
Searching...
No Matches
VisualisationConstants.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
17
18#ifndef ALICE_O2_EVENTVISUALISATION_BASE_VISUALISATIONCONSTANTS_H
19#define ALICE_O2_EVENTVISUALISATION_BASE_VISUALISATIONCONSTANTS_H
20
21#include <string>
22
23namespace o2
24{
25namespace event_visualisation
26{
27
42
44 "ITS",
45 "TPC",
46 "TRD",
47 "TOF",
48 "MFT",
49 "MCH",
50 "MID",
51 "EMC",
52 "PHS",
53 "CPV",
54 "HMP"};
55
57 true, //"ITS",
58 true, //"TPC",
59 true, //"TRD",
60 true, //"TOF",
61 true, // "MFT"
62 true, //"MCH",
63 true, //"MID",
64 true, //"EMC",
65 true, //"PHS",
66 true, //"CPV"
67 true, //"HMP"
68};
69
76
77const std::string gDataTypeNames[NdataTypes] = {
78 "Clusters",
79 "Tracks",
80 "Calorimeters"};
81
82static int findGroupIndex(const std::string& name)
83{
84 for (int i = 0; i < NvisualisationGroups; i++) {
86 return i;
87 }
88 }
89 return -1;
90};
91
92} // namespace event_visualisation
93} // namespace o2
94
95#endif
int32_t i
GLuint const GLchar * name
Definition glcorearb.h:781
const bool R3Visualisation[NvisualisationGroups]
const std::string gVisualisationGroupName[NvisualisationGroups]
@ Clusters
Reconstructed clusters (RecPoints)
@ NdataTypes
number of supported data types
const std::string gDataTypeNames[NdataTypes]
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...