10 #ifndef LARCOREALG_GEOMETRY_GEOMETRYBUILDERSTANDARD_H 11 #define LARCOREALG_GEOMETRY_GEOMETRYBUILDERSTANDARD_H 30 #include <string_view> 118 Comment(
"maximum number of level of the geometry structure to descend"),
123 Name(
"opDetGeoName"),
124 Comment(
"the start of the name of optical detector GDML nodes"),
381 bool isTPCNode(TGeoNode
const& node)
const;
396 (std::string_view
const&
s, std::string_view
const&
key)
397 {
return s.compare(0, key.size(),
key) == 0; }
431 #endif // LARCOREALG_GEOMETRY_GEOMETRYBUILDERSTANDARD_H
Geometry description of a TPC wireThe wire is a single straight segment on a wire plane...
virtual OpDets_t doExtractOpDets(Path_t &path)
TPCs_t extractTPCs(Path_t &path)
Looks for all TPCs under the specified path.
Planes_t extractPlanes(Path_t &path)
Looks for all wire planes under the specified path.
virtual geo::PlaneGeo doMakePlane(Path_t &path)
Core implementation of makePlanes().
virtual geo::AuxDetSensitiveGeo doMakeAuxDetSensitive(Path_t &path)
Core implementation of makeAuxDetSensitive().
virtual geo::TPCGeo doMakeTPC(Path_t &path)
Core implementation of makeTPC().
geo::TPCGeo makeTPC(Path_t &path)
Constructs a geo::TPCGeo from the current node of the path.
fhicl::Atom< Path_t::Depth_t > maxDepth
Encapsulate the construction of a single cyostat.
GeometryBuilderStandard(Config const &config)
GeoColl_t< geo::AuxDetSensitiveGeo > AuxDetSensitive_t
Geometry information for a single TPC.
bool isCryostatNode(TGeoNode const &node) const
Returns whether the specified node is recognised as a cryostat.
ChannelGroupService::Name Name
Interface for geometry extractor classes.
GeoColl_t< geo::TPCGeo > TPCs_t
virtual geo::CryostatGeo doMakeCryostat(Path_t &path)
Core implementation of extractAuxDetSensitive().
geo::AuxDetGeo makeAuxDet(Path_t &path)
Constructs a geo::AuxDetGeo from the current node of the path.
virtual AuxDetSensitive_t doExtractAuxDetSensitive(Path_t &path)
Geometry information for a single cryostat.
virtual geo::AuxDetGeo doMakeAuxDet(Path_t &path)
Core implementation of extractAuxiliaryDetectors().
GeoColl_t< geo::AuxDetGeo > AuxDets_t
Collection of auxiliary detector information objects.
OpDets_t extractOpDets(Path_t &path)
Looks for all optical detectors under the specified path.
Encapsulate the geometry of the sensitive portion of an auxiliary detector.
virtual Cryostats_t doExtractCryostats(Path_t &path) override
GeoColl_t< ObjGeo > doExtractGeometryObjects(Path_t &path)
Boilerplate implementation of doExtractXxxx() methods.
virtual AuxDets_t doExtractAuxiliaryDetectors(Path_t &path) override
bool isTPCNode(TGeoNode const &node) const
Returns whether the specified node is recognised as a TPC.
GeoColl_t< geo::WireGeo > Wires_t
bool isOpDetNode(TGeoNode const &node) const
Returns whether the specified node is recognised as a optical detector.
std::string fOpDetGeoName
Name of the optical detector nodes.
Geometry information for a single wire plane.The plane is represented in the geometry by a solid whic...
virtual TPCs_t doExtractTPCs(Path_t &path)
Configuration parameters.
fhicl::Atom< std::string > opDetGeoName
Encapsulate the geometry of an auxiliary detector.
GeoColl_t< geo::CryostatGeo > Cryostats_t
Collection of cryostat information objects.
static int max(int a, int b)
bool isWireNode(TGeoNode const &node) const
Returns whether the specified node is recognised as a wire.
Path_t::Depth_t fMaxDepth
Maximum level to descend into in the path.
virtual geo::OpDetGeo doMakeOpDet(Path_t &path)
Core implementation of makeOpDet().
GeoColl_t< geo::PlaneGeo > Planes_t
Encapsulate the geometry of a wire.
GeoColl_t< geo::OpDetGeo > OpDets_t
Encapsulate the geometry of an optical detector.
Wires_t extractWires(Path_t &path)
Looks for all wires under the specified path.
std::size_t Depth_t
Type used to represent the depth of the path.
Encapsulate the construction of a single detector plane.
bool isPlaneNode(TGeoNode const &node) const
Returns whether the specified node is recognised as a wire plane.
bool isAuxDetSensitiveNode(TGeoNode const &node) const
AuxDetSensitive_t extractAuxDetSensitive(Path_t &path)
Looks for all auxiliary detectors under the specified path.
virtual Wires_t doExtractWires(Path_t &path)
geo::OpDetGeo makeOpDet(Path_t &path)
Constructs a geo::OpDetGeo from the current node of the path.
Manages the extraction of LArSoft geometry information from ROOT.
Representation of a node and its ancestry.
LArSoft geometry interface.
geo::PlaneGeo makePlane(Path_t &path)
Constructs a geo::PlaneGeo from the current node of the path.
virtual Planes_t doExtractPlanes(Path_t &path)
Extracts of LArSoft geometry information from ROOT.
Encapsulate the construction of a single detector plane.
std::vector< GeoObj > GeoColl_t
Type of direct collection of geometry objects.
geo::CryostatGeo makeCryostat(Path_t &path)
Constructs a geo::CryostatGeo from the current node of the path.
virtual geo::WireGeo doMakeWire(Path_t &path)
Core implementation of makeWire().
static bool starts_with(std::string_view const &s, std::string_view const &key)
bool isAuxDetNode(TGeoNode const &node) const
geo::WireGeo makeWire(Path_t &path)
Constructs a geo::WireGeo from the current node of the path.
geo::AuxDetSensitiveGeo makeAuxDetSensitive(Path_t &path)