![]() |
LArSoft
v10_04_05
Liquid Argon Software toolkit - https://larsoft.org/
|
Manages the extraction of LArSoft geometry information from ROOT. More...
#include "GeometryBuilder.h"
Public Types | |
using | Path_t = GeoNodePath |
Identification of a single node in ROOT geometry. More... | |
template<typename GeoObj > | |
using | GeoColl_t = std::vector< GeoObj > |
Type of direct collection of geometry objects. More... | |
Public Member Functions | |
virtual | ~GeometryBuilder ()=default |
Virtual destructor. More... | |
Private Member Functions | |
virtual Cryostats_t | doExtractCryostats (Path_t &path) const =0 |
virtual AuxDets_t | doExtractAuxiliaryDetectors (Path_t &path) const =0 |
Cryostat information | |
using | Cryostats_t = GeoColl_t< CryostatGeo > |
Collection of cryostat information objects. More... | |
Cryostats_t | extractCryostats (Path_t path) const |
Looks for all cryostats under the specified path. More... | |
Auxiliary detector information | |
using | AuxDets_t = GeoColl_t< AuxDetGeo > |
Collection of auxiliary detector information objects. More... | |
AuxDets_t | extractAuxiliaryDetectors (Path_t path) const |
Looks for all auxiliary detectors under the specified path. More... | |
Manages the extraction of LArSoft geometry information from ROOT.
The general interface only provides abstraction for the high level objects (cryostats and auxiliary detectors). The implementations can use a finer internal structure to address single subcomponents (e.g. wire planes).
Builder objects can be configured via FHiCL parameters.
This is an abstract interface.
The builders return collections of dynamically allocated LArSoft geometry objects. In this way, it is possible to customize those objects for detector-specific needs.
Definition at line 39 of file GeometryBuilder.h.
Collection of auxiliary detector information objects.
Definition at line 82 of file GeometryBuilder.h.
Collection of cryostat information objects.
Definition at line 62 of file GeometryBuilder.h.
using geo::GeometryBuilder::GeoColl_t = std::vector<GeoObj> |
Type of direct collection of geometry objects.
Definition at line 47 of file GeometryBuilder.h.
Identification of a single node in ROOT geometry.
Definition at line 43 of file GeometryBuilder.h.
|
virtualdefault |
Virtual destructor.
|
privatepure virtual |
Implemented in geo::GeometryBuilderStandard.
Referenced by extractAuxiliaryDetectors().
|
privatepure virtual |
Implemented in geo::GeometryBuilderStandard.
Referenced by extractAuxiliaryDetectors(), and extractCryostats().
Looks for all auxiliary detectors under the specified path.
path | path pointing to the starting node |
The auxiliary detectors contain all their inner elements. The current node itself of the path is also considered as auxiliary detector candidate, then it is descended into.
Definition at line 93 of file GeometryBuilder.h.
References doExtractAuxiliaryDetectors(), and doExtractCryostats().
Referenced by geo::AuxDetGeometryCore::LoadGeometryFile().
|
inline |
Looks for all cryostats under the specified path.
path | path pointing to the starting node |
The cryostats contain all their inner elements. The current node itself of the path is also considered as cryostat candidate, then it is descended into.
Definition at line 72 of file GeometryBuilder.h.
References doExtractCryostats().