LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Geometry builder which ignores wires on wire planes. More...
#include "GeometryBuilderWireless.h"
Public Types | |
using | Path_t = geo::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 | |
template<typename ObjGeo > | |
geo::GeometryBuilder::GeoColl_t< ObjGeo > | doExtractGeometryObjects (Path_t &path, std::function< bool(TGeoNode const &)> const IsObj, ObjGeo(GeometryBuilderStandard::*MakeObj)(Path_t &)) |
Protected Member Functions | |
Wire information | |
virtual Wires_t | doExtractWires (Path_t &) |
Auxiliary detector information | |
geo::AuxDetGeo | makeAuxDet (Path_t &path) |
Constructs a geo::AuxDetGeo from the current node of the path . More... | |
virtual AuxDets_t | doExtractAuxiliaryDetectors (Path_t &path) override |
virtual geo::AuxDetGeo | doMakeAuxDet (Path_t &path) |
Core implementation of extractAuxiliaryDetectors() . More... | |
Cryostat information | |
geo::CryostatGeo | makeCryostat (Path_t &path) |
Constructs a geo::CryostatGeo from the current node of the path . More... | |
virtual Cryostats_t | doExtractCryostats (Path_t &path) override |
virtual geo::CryostatGeo | doMakeCryostat (Path_t &path) |
Core implementation of extractAuxDetSensitive() . More... | |
Protected Attributes | |
Path_t::Depth_t | fMaxDepth = std::numeric_limits<Path_t::Depth_t>::max() |
Maximum level to descend into in the path. More... | |
std::string | fOpDetGeoName = "volOpDetSensitive" |
Name of the optical detector nodes. More... | |
Cryostat information | |
Cryostats_t | extractCryostats (Path_t const &path) |
Looks for all cryostats under the specified path. More... | |
using | Cryostats_t = GeoColl_t< geo::CryostatGeo > |
Collection of cryostat information objects. More... | |
Auxiliary detector information | |
AuxDets_t | extractAuxiliaryDetectors (Path_t const &path) |
Looks for all auxiliary detectors under the specified path. More... | |
using | AuxDets_t = GeoColl_t< geo::AuxDetGeo > |
Collection of auxiliary detector information objects. More... | |
Auxiliary detector sensitive volume information | |
AuxDetSensitive_t | extractAuxDetSensitive (Path_t &path) |
Looks for all auxiliary detectors under the specified path. More... | |
geo::AuxDetSensitiveGeo | makeAuxDetSensitive (Path_t &path) |
virtual AuxDetSensitive_t | doExtractAuxDetSensitive (Path_t &path) |
virtual geo::AuxDetSensitiveGeo | doMakeAuxDetSensitive (Path_t &path) |
Core implementation of makeAuxDetSensitive() . More... | |
using | AuxDetSensitive_t = GeoColl_t< geo::AuxDetSensitiveGeo > |
Looks for all auxiliary detectors under the specified path. More... | |
Optical detector information | |
OpDets_t | extractOpDets (Path_t &path) |
Looks for all optical detectors under the specified path. More... | |
geo::OpDetGeo | makeOpDet (Path_t &path) |
Constructs a geo::OpDetGeo from the current node of the path . More... | |
virtual OpDets_t | doExtractOpDets (Path_t &path) |
virtual geo::OpDetGeo | doMakeOpDet (Path_t &path) |
Core implementation of makeOpDet() . More... | |
using | OpDets_t = GeoColl_t< geo::OpDetGeo > |
Looks for all optical detectors under the specified path. More... | |
TPC information | |
TPCs_t | extractTPCs (Path_t &path) |
Looks for all TPCs under the specified path. More... | |
geo::TPCGeo | makeTPC (Path_t &path) |
Constructs a geo::TPCGeo from the current node of the path . More... | |
virtual TPCs_t | doExtractTPCs (Path_t &path) |
virtual geo::TPCGeo | doMakeTPC (Path_t &path) |
Core implementation of makeTPC() . More... | |
using | TPCs_t = GeoColl_t< geo::TPCGeo > |
Looks for all TPCs under the specified path. More... | |
Wire plane information | |
Planes_t | extractPlanes (Path_t &path) |
Looks for all wire planes under the specified path. More... | |
geo::PlaneGeo | makePlane (Path_t &path) |
Constructs a geo::PlaneGeo from the current node of the path . More... | |
virtual Planes_t | doExtractPlanes (Path_t &path) |
virtual geo::PlaneGeo | doMakePlane (Path_t &path) |
Core implementation of makePlanes() . More... | |
using | Planes_t = GeoColl_t< geo::PlaneGeo > |
Looks for all wire planes under the specified path. More... | |
Wire information | |
Wires_t | extractWires (Path_t &path) |
Looks for all wires under the specified path. More... | |
geo::WireGeo | makeWire (Path_t &path) |
Constructs a geo::WireGeo from the current node of the path . More... | |
virtual geo::WireGeo | doMakeWire (Path_t &path) |
Core implementation of makeWire() . More... | |
using | Wires_t = GeoColl_t< geo::WireGeo > |
Looks for all wires under the specified path. More... | |
Geometry builder which ignores wires on wire planes.
This builder works like geo::GeometryBuilderStandard
, with the exception that it does not consider the wires on the wire plane objects: wires may or may not exist.
Definition at line 26 of file GeometryBuilderWireless.h.
|
inherited |
Collection of auxiliary detector information objects.
Definition at line 101 of file GeometryBuilder.h.
|
protectedinherited |
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.
path
is allowed to change during processing. Definition at line 166 of file GeometryBuilderStandard.h.
|
inherited |
Collection of cryostat information objects.
Definition at line 76 of file GeometryBuilder.h.
|
inherited |
Type of direct collection of geometry objects.
Definition at line 61 of file GeometryBuilder.h.
|
protectedinherited |
Looks for all optical detectors under the specified path.
path | path pointing to the starting node |
Definition at line 227 of file GeometryBuilderStandard.h.
|
inherited |
Identification of a single node in ROOT geometry.
Definition at line 57 of file GeometryBuilder.h.
|
protectedinherited |
Looks for all wire planes under the specified path.
path | path pointing to the starting node |
Each plane has its own wires already in.
Definition at line 291 of file GeometryBuilderStandard.h.
|
protectedinherited |
Looks for all TPCs under the specified path.
path | path pointing to the starting node |
Each TPC has its own wire planes already in.
Definition at line 258 of file GeometryBuilderStandard.h.
|
protectedinherited |
Looks for all wires under the specified path.
path | path pointing to the starting node |
Definition at line 324 of file GeometryBuilderStandard.h.
|
protectedvirtualinherited |
Core implementation of extractAuxDetSensitive()
.
The actual algorithm is specialization of doExtractGeometryObjects()
.
Definition at line 92 of file GeometryBuilderStandard.cxx.
References geo::GeometryBuilderStandard::doExtractGeometryObjects(), and geo::GeometryBuilderStandard::makeAuxDetSensitive().
Referenced by geo::GeometryBuilderStandard::extractAuxDetSensitive(), and geo::GeometryBuilderStandard::makeAuxDetSensitive().
|
overrideprotectedvirtualinherited |
Core implementation of extractCryostats()
.
The actual algorithm is specialization of doExtractGeometryObjects()
.
Implements geo::GeometryBuilder.
Definition at line 74 of file GeometryBuilderStandard.cxx.
References geo::GeometryBuilderStandard::doExtractGeometryObjects(), and geo::GeometryBuilderStandard::doMakeAuxDet().
Referenced by geo::GeometryBuilderStandard::makeAuxDet().
|
overrideprotectedvirtualinherited |
Core implementation of extractCryostats()
.
The actual algorithm is specialization of doExtractGeometryObjects()
.
Implements geo::GeometryBuilder.
Definition at line 105 of file GeometryBuilderStandard.cxx.
References geo::GeometryBuilderStandard::doExtractGeometryObjects(), and geo::GeometryBuilderStandard::makeCryostat().
Referenced by geo::GeometryBuilderStandard::makeCryostat().
|
inherited |
Definition at line 175 of file GeometryBuilderStandard.cxx.
References geo::GeoNodePath::append(), geo::GeoNodePath::current(), geo::GeoNodePath::depth(), geo::GeometryBuilderStandard::doExtractGeometryObjects(), geo::GeometryBuilderStandard::fMaxDepth, n, and geo::GeoNodePath::pop().
|
protectedvirtualinherited |
Core implementation of extractOpDets()
.
The actual algorithm is specialization of doExtractGeometryObjects()
.
Definition at line 121 of file GeometryBuilderStandard.cxx.
References geo::GeometryBuilderStandard::doExtractGeometryObjects(), geo::GeometryBuilderStandard::fOpDetGeoName, and geo::GeometryBuilderStandard::makeOpDet().
Referenced by geo::GeometryBuilderStandard::extractOpDets(), and geo::GeometryBuilderStandard::makeOpDet().
|
protectedvirtualinherited |
Core implementation of extractPlanes()
.
The actual algorithm is specialization of doExtractGeometryObjects()
.
Definition at line 149 of file GeometryBuilderStandard.cxx.
References geo::GeometryBuilderStandard::doExtractGeometryObjects(), and geo::GeometryBuilderStandard::makePlane().
Referenced by geo::GeometryBuilderStandard::extractPlanes(), and geo::GeometryBuilderStandard::makePlane().
|
protectedvirtualinherited |
Core implementation of extractTPCs()
.
The actual algorithm is specialization of doExtractGeometryObjects()
.
Definition at line 136 of file GeometryBuilderStandard.cxx.
References geo::GeometryBuilderStandard::doExtractGeometryObjects(), and geo::GeometryBuilderStandard::makeTPC().
Referenced by geo::GeometryBuilderStandard::extractTPCs(), and geo::GeometryBuilderStandard::makeTPC().
Core implementation of extractWires()
: no wires returned whatsoever.
The actual algorithm is specialization of doExtractGeometryObjects()
.
Reimplemented from geo::GeometryBuilderStandard.
Definition at line 44 of file GeometryBuilderWireless.h.
|
protectedvirtualinherited |
Core implementation of extractAuxiliaryDetectors()
.
Definition at line 82 of file GeometryBuilderStandard.cxx.
References geo::GeoNodePath::current(), geo::GeoNodePath::currentTransformation(), and geo::GeometryBuilderStandard::extractAuxDetSensitive().
Referenced by geo::GeometryBuilderStandard::doExtractAuxiliaryDetectors(), and geo::GeometryBuilderStandard::makeAuxDet().
|
protectedvirtualinherited |
Core implementation of makeAuxDetSensitive()
.
Definition at line 99 of file GeometryBuilderStandard.cxx.
References geo::GeoNodePath::current(), and geo::GeoNodePath::currentTransformation().
Referenced by geo::GeometryBuilderStandard::makeAuxDetSensitive().
|
protectedvirtualinherited |
Core implementation of extractAuxDetSensitive()
.
Definition at line 112 of file GeometryBuilderStandard.cxx.
References geo::GeoNodePath::current(), geo::GeoNodePath::currentTransformation(), geo::GeometryBuilderStandard::extractOpDets(), and geo::GeometryBuilderStandard::extractTPCs().
Referenced by geo::GeometryBuilderStandard::makeCryostat().
|
protectedvirtualinherited |
Core implementation of makeOpDet()
.
Definition at line 130 of file GeometryBuilderStandard.cxx.
References geo::GeoNodePath::current(), and geo::GeoNodePath::currentTransformation().
Referenced by geo::GeometryBuilderStandard::makeOpDet().
|
protectedvirtualinherited |
Core implementation of makePlanes()
.
Definition at line 155 of file GeometryBuilderStandard.cxx.
References geo::GeoNodePath::current(), geo::GeoNodePath::currentTransformation(), and geo::GeometryBuilderStandard::extractWires().
Referenced by geo::GeometryBuilderStandard::makePlane().
|
protectedvirtualinherited |
Core implementation of makeTPC()
.
Definition at line 142 of file GeometryBuilderStandard.cxx.
References geo::GeoNodePath::current(), geo::GeoNodePath::currentTransformation(), and geo::GeometryBuilderStandard::extractPlanes().
Referenced by geo::GeometryBuilderStandard::makeTPC().
|
protectedvirtualinherited |
Core implementation of makeWire()
.
Definition at line 168 of file GeometryBuilderStandard.cxx.
References geo::GeoNodePath::current(), and geo::GeoNodePath::currentTransformation().
Referenced by geo::GeometryBuilderStandard::makeWire().
|
inlineprotectedinherited |
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.
path
is allowed to change during processing. Definition at line 179 of file GeometryBuilderStandard.h.
References geo::GeometryBuilderStandard::doExtractAuxDetSensitive().
Referenced by geo::GeometryBuilderStandard::doMakeAuxDet().
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 112 of file GeometryBuilder.h.
References geo::GeometryBuilder::doExtractAuxiliaryDetectors(), and geo::GeometryBuilder::doExtractCryostats().
Referenced by geo::GeometryCore::BuildGeometry(), and geo::AuxDetGeometryCore::LoadGeometryFile().
|
inlineinherited |
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 87 of file GeometryBuilder.h.
References geo::GeometryBuilder::doExtractCryostats().
Referenced by geo::GeometryCore::BuildGeometry().
Looks for all optical detectors under the specified path.
path | path pointing to the starting node |
Definition at line 234 of file GeometryBuilderStandard.h.
References geo::GeometryBuilderStandard::doExtractOpDets().
Referenced by geo::GeometryBuilderStandard::doMakeCryostat().
Looks for all wire planes under the specified path.
path | path pointing to the starting node |
Each plane has its own wires already in.
Definition at line 300 of file GeometryBuilderStandard.h.
References geo::GeometryBuilderStandard::doExtractPlanes().
Referenced by geo::GeometryBuilderStandard::doMakeTPC().
Looks for all TPCs under the specified path.
path | path pointing to the starting node |
Each TPC has its own wire planes already in.
Definition at line 267 of file GeometryBuilderStandard.h.
References geo::GeometryBuilderStandard::doExtractTPCs().
Referenced by geo::GeometryBuilderStandard::doMakeCryostat().
Looks for all wires under the specified path.
path | path pointing to the starting node |
Definition at line 332 of file GeometryBuilderStandard.h.
References geo::GeometryBuilderStandard::doExtractWires().
Referenced by geo::GeometryBuilderStandard::doMakePlane().
|
inlineprotectedinherited |
Constructs a geo::AuxDetGeo
from the current node of the path
.
Definition at line 149 of file GeometryBuilderStandard.h.
References geo::GeometryBuilderStandard::doExtractAuxiliaryDetectors(), and geo::GeometryBuilderStandard::doMakeAuxDet().
|
inlineprotectedinherited |
Constructs a geo::AuxDetSensitiveGeo
from the current node of the path
.
Definition at line 187 of file GeometryBuilderStandard.h.
References geo::GeometryBuilderStandard::doExtractAuxDetSensitive(), and geo::GeometryBuilderStandard::doMakeAuxDetSensitive().
Referenced by geo::GeometryBuilderStandard::doExtractAuxDetSensitive().
|
inlineprotectedinherited |
Constructs a geo::CryostatGeo
from the current node of the path
.
Definition at line 210 of file GeometryBuilderStandard.h.
References geo::GeometryBuilderStandard::doExtractCryostats(), and geo::GeometryBuilderStandard::doMakeCryostat().
Referenced by geo::GeometryBuilderStandard::doExtractCryostats().
|
inlineprotectedinherited |
Constructs a geo::OpDetGeo
from the current node of the path
.
Definition at line 241 of file GeometryBuilderStandard.h.
References geo::GeometryBuilderStandard::doExtractOpDets(), and geo::GeometryBuilderStandard::doMakeOpDet().
Referenced by geo::GeometryBuilderStandard::doExtractOpDets().
|
inlineprotectedinherited |
Constructs a geo::PlaneGeo
from the current node of the path
.
Definition at line 307 of file GeometryBuilderStandard.h.
References geo::GeometryBuilderStandard::doExtractPlanes(), and geo::GeometryBuilderStandard::doMakePlane().
Referenced by geo::GeometryBuilderStandard::doExtractPlanes().
|
inlineprotectedinherited |
Constructs a geo::TPCGeo
from the current node of the path
.
Definition at line 274 of file GeometryBuilderStandard.h.
References geo::GeometryBuilderStandard::doExtractTPCs(), and geo::GeometryBuilderStandard::doMakeTPC().
Referenced by geo::GeometryBuilderStandard::doExtractTPCs().
|
inlineprotectedinherited |
Constructs a geo::WireGeo
from the current node of the path
.
Definition at line 339 of file GeometryBuilderStandard.h.
References geo::GeometryBuilderStandard::doExtractGeometryObjects(), geo::GeometryBuilderStandard::doExtractWires(), and geo::GeometryBuilderStandard::doMakeWire().
Referenced by geo::GeometryBuilderStandard::doExtractWires().
|
protectedinherited |
Maximum level to descend into in the path.
Definition at line 137 of file GeometryBuilderStandard.h.
Referenced by geo::GeometryBuilderStandard::doExtractGeometryObjects().
|
protectedinherited |
Name of the optical detector nodes.
Definition at line 140 of file GeometryBuilderStandard.h.
Referenced by geo::GeometryBuilderStandard::doExtractOpDets().