Project
Loading...
Searching...
No Matches
GeometryManager.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
15
16#ifndef ALICE_O2_EVENTVISUALISATION_BASE_GEOMETRYMANAGER_H
17#define ALICE_O2_EVENTVISUALISATION_BASE_GEOMETRYMANAGER_H
18
19#include <TEveGeoShape.h>
20
21#include <string>
22
23namespace o2
24{
25namespace event_visualisation
26{
27
33
35{
36 public:
39
41 TEveGeoShape* getGeometryForDetector(std::string detectorName);
42
43 private:
44
46 void drawDeep(TEveGeoShape* geomShape, Color_t color, Char_t transparency, Color_t lineColor);
47
49 GeometryManager() = default;
51 ~GeometryManager() = default;
53 GeometryManager(GeometryManager const&) = delete;
55 void operator=(GeometryManager const&) = delete;
56};
57
58} // namespace event_visualisation
59} // namespace o2
60
61#endif // ALICE_O2_EVENTVISUALISATION_BASE_GEOMETRYMANAGER_H
int16_t Color_t
Definition GPUQA.h:32
TEveGeoShape * getGeometryForDetector(std::string detectorName)
Returns ROOT shapes describing simplified geometry of given detector.
static GeometryManager & getInstance()
Returns an instance of GeometryManager.
GLuint color
Definition glcorearb.h:1272
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...