Project
Loading...
Searching...
No Matches
GeometryTGeo.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#ifndef ALICEO2_FD3_GEOMETRYTGEO_H_
12#define ALICEO2_FD3_GEOMETRYTGEO_H_
13
15
18#include <Rtypes.h>
19#include <TGeoPhysicalNode.h>
20#include <vector>
21#include <array>
22#include <TGeoMatrix.h>
23#include <TGeoVolume.h>
24#include <TVirtualMC.h>
25
26namespace o2
27{
28namespace fd3
29{
30
33{
34 public:
35 GeometryTGeo(bool build = false, int loadTrans = 0);
36
37 void Build(int loadTrans);
38 void fillMatrixCache(int mask);
39 virtual ~GeometryTGeo();
40
41 static GeometryTGeo* Instance();
42
43 void getGlobalPosition(float& x, float& y, float& z);
44
45 static constexpr o2::detectors::DetID::ID getDetID() { return o2::detectors::DetID::FD3; }
46
47 private:
48 static std::unique_ptr<o2::fd3::GeometryTGeo> sInstance;
49
50 ClassDefNV(GeometryTGeo, 1);
51};
52} // namespace fd3
53} // namespace o2
54#endif
Definition of the GeometryManager class.
FD3 Geometry type.
static GeometryTGeo * Instance()
void Build(int loadTrans)
static constexpr o2::detectors::DetID::ID getDetID()
void getGlobalPosition(float &x, float &y, float &z)
void fillMatrixCache(int mask)
GLint GLenum GLint x
Definition glcorearb.h:403
GLint GLuint mask
Definition glcorearb.h:291
GLdouble GLdouble GLdouble z
Definition glcorearb.h:843
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...