Project
Loading...
Searching...
No Matches
TGeoGeometryUtils.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 ALICEO2_BASE_TGEOGEOMETRYUTILS_H_
17#define ALICEO2_BASE_TGEOGEOMETRYUTILS_H_
18
19class TGeoShape;
20class TGeoTessellated;
21
22namespace o2
23{
24namespace base
25{
26
29{
30 public:
32 static TGeoTessellated* TGeoShapeToTGeoTessellated(TGeoShape const*);
33
46 static void makeHalfSpaceBox(const char* name, const double p[3], const double n[3], double reach);
47};
48
49} // namespace base
50} // namespace o2
51
52#endif
A few utility functions to operate on TGeo geometries (transformations, printing, ....
static TGeoTessellated * TGeoShapeToTGeoTessellated(TGeoShape const *)
< Transform any (primitive) TGeoShape to a tessellated representation
static void makeHalfSpaceBox(const char *name, const double p[3], const double n[3], double reach)
GLdouble n
Definition glcorearb.h:1982
GLuint const GLchar * name
Definition glcorearb.h:781
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...