Project
Loading...
Searching...
No Matches
CADSupportLinkDef.h
Go to the documentation of this file.
1// Copyright 2019-2026 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.
13
14#ifdef __CLING__
15
16#pragma link off all globals;
17#pragma link off all classes;
18#pragma link off all functions;
19
20#pragma link C++ class o2::cad::BVHSurfaceCurveRecord + ;
21#pragma link C++ class o2::cad::BVHSurfaceRecord + ;
22#pragma link C++ class std::vector < o2::cad::BVHSurfaceCurveRecord> + ;
23#pragma link C++ class std::vector < o2::cad::BVHSurfaceRecord> + ;
24#pragma link C++ class o2::cad::O2BVHSurfaceSolid - ;
25#pragma link C++ class o2::cad::O2BVHAssembly + ;
26#pragma link C++ class o2::cad::FlatCSGHalfspace + ;
27#pragma link C++ class o2::cad::FlatCSGCell + ;
28#pragma link C++ class std::vector < o2::cad::FlatCSGHalfspace> + ;
29#pragma link C++ class std::vector < o2::cad::FlatCSGCell> + ;
30#pragma link C++ class o2::cad::O2FlatCSG + ;
31// Close every O2FlatCSG read from a file, so that any reader gets the accelerated shape.
32#pragma read sourceClass = "o2::cad::O2FlatCSG" targetClass = "o2::cad::O2FlatCSG" version = "[1-]" source = "" target = "" code = "{ newObj->CloseShape(); if (!newObj->IsClosed()) { newObj->Error(\"Streamer\", \"Shape %s was read from a file and CloseShape() refused it, so it has no sub-cell boxes and every query falls back to its _Loop twin. See the Error above: a cell bounding box is missing, inverted or non-finite.\", newObj->GetName()); } }";
33
34#endif