Project
Loading...
Searching...
No Matches
CADGeometryUtils.h File Reference

Helpers to inject CAD-derived (TGeo) geometry into O2 simulation. More...

#include <string>

Go to the source code of this file.

Namespaces

namespace  o2
 a couple of static helper functions to create timestamp values for CCDB queries or override obsolete objects
 
namespace  o2::base
 

Functions

TGeoVolume * o2::base::buildCADVolumeFromMacro (const std::string &macroFile, const std::string &instanceTag)
 
void o2::base::remapCADMedia (TGeoVolume *top, const char *modulename)
 

Detailed Description

Helpers to inject CAD-derived (TGeo) geometry into O2 simulation.

These utilities are shared between purely passive external modules (o2::passive::ExternalModule) and sensitive external detectors (o2::ext::ExternalDetector). They deal with the geometry produced by scripts/geometry/O2_CADtoTGeo.py, which is emitted as a ROOT macro.

Definition in file CADGeometryUtils.h.