|
static void | loadGeometry (std::string_view geomFilePath="", bool applyMisalignment=false, bool preferAlignedFile=true) |
|
static bool | isGeometryLoaded () |
|
static void | applyMisalignent (bool applyMisalignment=true) |
|
static Bool_t | getOriginalMatrix (o2::detectors::DetID detid, int sensid, TGeoHMatrix &m) |
|
static Bool_t | getOriginalMatrix (const char *symname, TGeoHMatrix &m) |
|
static TGeoHMatrix * | getMatrix (const char *symname) |
|
static const char * | getSymbolicName (o2::detectors::DetID detid, int sensid) |
|
static TGeoPNEntry * | getPNEntry (o2::detectors::DetID detid, Int_t sensid) |
|
static TGeoHMatrix * | getMatrix (o2::detectors::DetID detid, Int_t sensid) |
|
static int | getSensID (o2::detectors::DetID detid, int sensid) |
|
static bool | applyAlignment (const std::vector< o2::detectors::AlignParam > &algPars) |
| misalign geometry with alignment objects from the array, optionaly check overlaps
|
|
static bool | applyAlignment (const std::vector< const std::vector< o2::detectors::AlignParam > * > algPars) |
|
static o2::base::MatBudget | meanMaterialBudget (float x0, float y0, float z0, float x1, float y1, float z1) |
|
static o2::base::MatBudget | meanMaterialBudget (const math_utils::Point3D< float > &start, const math_utils::Point3D< float > &end) |
|
static o2::base::MatBudget | meanMaterialBudget (const math_utils::Point3D< double > &start, const math_utils::Point3D< double > &end) |
|
static MatBudgetExt | meanMaterialBudgetExt (float x0, float y0, float z0, float x1, float y1, float z1) |
|
static MatBudgetExt | meanMaterialBudgetExt (const math_utils::Point3D< float > &start, const math_utils::Point3D< float > &end) |
|
static MatBudgetExt | meanMaterialBudgetExt (const math_utils::Point3D< double > &start, const math_utils::Point3D< double > &end) |
|
Class for interfacing to the geometry; it also builds and manages the look-up tables for fast access to geometry and alignment information for sensitive alignable volumes: 1) the look-up table mapping unique volume ids to TGeoPNEntries. This allows to access directly by means of the unique index the associated symbolic name and original global matrix in addition to the functionality of the physical node associated to a given alignable volume 2) the look-up table of the alignment objects associated to the indexed alignable volumes
Definition at line 48 of file GeometryManager.h.
void GeometryManager::applyMisalignent |
( |
bool |
applyMisalignment = true | ) |
|
|
static |
Get the global transformation matrix (ideal geometry) for a given alignable volume The alignable volume is identified by 'symname' which has to be either a valid symbolic name, the query being performed after alignment, or a valid volume path if the query is performed before alignment.
< load geometry from file
Definition at line 489 of file GeometryManager.cxx.
void GeometryManager::loadGeometry |
( |
std::string_view |
geomFilePath = "" , |
|
|
bool |
applyMisalignment = false , |
|
|
bool |
preferAlignedFile = true |
|
) |
| |
|
static |
< load geometry from file When applyMisalignedment == false --> read from unaligned file When preferAlignedFile == true and applyMisalignment == true : Prefer reading from existing aligned file
< load directly from aligned file and apply alignment on top
< load geometry from unaligned file and apply alignment on top
Definition at line 502 of file GeometryManager.cxx.