LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
geo::GeometryBuilderWireless Class Reference

Geometry builder which ignores wires on wire planes. More...

#include "GeometryBuilderWireless.h"

Inheritance diagram for geo::GeometryBuilderWireless:
geo::GeometryBuilderStandard geo::GeometryBuilder

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...
 

Detailed Description

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.

Member Typedef Documentation

Collection of auxiliary detector information objects.

Definition at line 101 of file GeometryBuilder.h.

Looks for all auxiliary detectors under the specified path.

Parameters
pathpath pointing to the starting node
Returns
a list of fully constructed auxiliary detectors

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.

Note
Multithreading note: path is allowed to change during processing.

Definition at line 166 of file GeometryBuilderStandard.h.

Collection of cryostat information objects.

Definition at line 76 of file GeometryBuilder.h.

template<typename GeoObj >
using geo::GeometryBuilder::GeoColl_t = std::vector<GeoObj>
inherited

Type of direct collection of geometry objects.

Definition at line 61 of file GeometryBuilder.h.

Looks for all optical detectors under the specified path.

Parameters
pathpath pointing to the starting node
Returns
a list of fully constructed optical detector objects

Definition at line 227 of file GeometryBuilderStandard.h.

Identification of a single node in ROOT geometry.

Definition at line 57 of file GeometryBuilder.h.

Looks for all wire planes under the specified path.

Parameters
pathpath pointing to the starting node
Returns
a list of fully constructed wire plane objects

Each plane has its own wires already in.

Definition at line 291 of file GeometryBuilderStandard.h.

Looks for all TPCs under the specified path.

Parameters
pathpath pointing to the starting node
Returns
a list of fully constructed TPC objects

Each TPC has its own wire planes already in.

Definition at line 258 of file GeometryBuilderStandard.h.

Looks for all wires under the specified path.

Parameters
pathpath pointing to the starting node
Returns
a list of fully constructed wires

Definition at line 324 of file GeometryBuilderStandard.h.

Member Function Documentation

geo::GeometryBuilderStandard::AuxDetSensitive_t geo::GeometryBuilderStandard::doExtractAuxDetSensitive ( Path_t path)
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().

93 {
95  path, isAuxDetSensitiveNode, &GeometryBuilderStandard::makeAuxDetSensitive);
96 }
GeoColl_t< ObjGeo > doExtractGeometryObjects(Path_t &path, std::function< bool(TGeoNode const &)> IsObj, ObjGeo(geo::GeometryBuilderStandard::*MakeObj)(Path_t &))
Boilerplate implementation of doExtractXxxx() methods.
geo::AuxDetSensitiveGeo makeAuxDetSensitive(Path_t &path)
geo::GeometryBuilderStandard::AuxDets_t geo::GeometryBuilderStandard::doExtractAuxiliaryDetectors ( Path_t path)
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().

76 {
77 
79 }
GeoColl_t< ObjGeo > doExtractGeometryObjects(Path_t &path, std::function< bool(TGeoNode const &)> IsObj, ObjGeo(geo::GeometryBuilderStandard::*MakeObj)(Path_t &))
Boilerplate implementation of doExtractXxxx() methods.
virtual geo::AuxDetGeo doMakeAuxDet(Path_t &path)
Core implementation of extractAuxiliaryDetectors().
geo::GeometryBuilderStandard::Cryostats_t geo::GeometryBuilderStandard::doExtractCryostats ( Path_t path)
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().

107 {
109 }
GeoColl_t< ObjGeo > doExtractGeometryObjects(Path_t &path, std::function< bool(TGeoNode const &)> IsObj, ObjGeo(geo::GeometryBuilderStandard::*MakeObj)(Path_t &))
Boilerplate implementation of doExtractXxxx() methods.
geo::CryostatGeo makeCryostat(Path_t &path)
Constructs a geo::CryostatGeo from the current node of the path.
template<typename ObjGeo >
geo::GeometryBuilder::GeoColl_t<ObjGeo> geo::GeometryBuilderStandard::doExtractGeometryObjects ( Path_t path,
std::function< bool(TGeoNode const &)> const  IsObj,
ObjGeo(GeometryBuilderStandard::*)(Path_t &)  MakeObj 
)
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().

179 {
180  GeoColl_t<ObjGeo> objs;
181 
182  //
183  // if this is a wire, we are set
184  //
185  if (IsObj(path.current())) {
186  objs.push_back((this->*MakeObj)(path));
187  return objs;
188  }
189 
190  //
191  // descend into the next layer down, concatenate the results and return them
192  //
193  if (path.depth() >= fMaxDepth) return objs; // yep, this is empty
194 
195  TGeoVolume const* volume = path.current().GetVolume();
196  int const n = volume->GetNdaughters();
197  for (int i = 0; i < n; ++i) {
198  path.append(*volume->GetNode(i));
199  extendCollection(objs, doExtractGeometryObjects(path, IsObj, MakeObj));
200  path.pop();
201  } // for
202 
203  return objs;
204 }
GeoColl_t< ObjGeo > doExtractGeometryObjects(Path_t &path, std::function< bool(TGeoNode const &)> IsObj, ObjGeo(geo::GeometryBuilderStandard::*MakeObj)(Path_t &))
Boilerplate implementation of doExtractXxxx() methods.
Path_t::Depth_t fMaxDepth
Maximum level to descend into in the path.
Char_t n[5]
geo::GeometryBuilderStandard::OpDets_t geo::GeometryBuilderStandard::doExtractOpDets ( Path_t path)
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().

122 {
124  path,
125  [this](auto const& node) { return isOpDetNode(node, fOpDetGeoName); },
127 }
GeoColl_t< ObjGeo > doExtractGeometryObjects(Path_t &path, std::function< bool(TGeoNode const &)> IsObj, ObjGeo(geo::GeometryBuilderStandard::*MakeObj)(Path_t &))
Boilerplate implementation of doExtractXxxx() methods.
std::string fOpDetGeoName
Name of the optical detector nodes.
geo::OpDetGeo makeOpDet(Path_t &path)
Constructs a geo::OpDetGeo from the current node of the path.
geo::GeometryBuilderStandard::Planes_t geo::GeometryBuilderStandard::doExtractPlanes ( Path_t path)
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().

150 {
152 }
GeoColl_t< ObjGeo > doExtractGeometryObjects(Path_t &path, std::function< bool(TGeoNode const &)> IsObj, ObjGeo(geo::GeometryBuilderStandard::*MakeObj)(Path_t &))
Boilerplate implementation of doExtractXxxx() methods.
geo::PlaneGeo makePlane(Path_t &path)
Constructs a geo::PlaneGeo from the current node of the path.
geo::GeometryBuilderStandard::TPCs_t geo::GeometryBuilderStandard::doExtractTPCs ( Path_t path)
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().

137 {
139 }
geo::TPCGeo makeTPC(Path_t &path)
Constructs a geo::TPCGeo from the current node of the path.
GeoColl_t< ObjGeo > doExtractGeometryObjects(Path_t &path, std::function< bool(TGeoNode const &)> IsObj, ObjGeo(geo::GeometryBuilderStandard::*MakeObj)(Path_t &))
Boilerplate implementation of doExtractXxxx() methods.
virtual Wires_t geo::GeometryBuilderWireless::doExtractWires ( Path_t )
inlineprotectedvirtual

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.

44 { return {}; }
geo::AuxDetGeo geo::GeometryBuilderStandard::doMakeAuxDet ( Path_t path)
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().

83 {
84 
85  return AuxDetGeo(path.current(),
86  path.currentTransformation<TransformationMatrix>(),
88 }
AuxDetSensitive_t extractAuxDetSensitive(Path_t &path)
Looks for all auxiliary detectors under the specified path.
ROOT::Math::Transform3D TransformationMatrix
Type of transformation matrix used in geometry.
geo::AuxDetSensitiveGeo geo::GeometryBuilderStandard::doMakeAuxDetSensitive ( Path_t path)
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().

100 {
101  return AuxDetSensitiveGeo(path.current(), path.currentTransformation<TransformationMatrix>());
102 }
ROOT::Math::Transform3D TransformationMatrix
Type of transformation matrix used in geometry.
geo::CryostatGeo geo::GeometryBuilderStandard::doMakeCryostat ( Path_t path)
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().

113 {
114  return CryostatGeo{path.current(),
115  path.currentTransformation<TransformationMatrix>(),
116  extractTPCs(path),
117  extractOpDets(path)};
118 }
TPCs_t extractTPCs(Path_t &path)
Looks for all TPCs under the specified path.
OpDets_t extractOpDets(Path_t &path)
Looks for all optical detectors under the specified path.
ROOT::Math::Transform3D TransformationMatrix
Type of transformation matrix used in geometry.
geo::OpDetGeo geo::GeometryBuilderStandard::doMakeOpDet ( Path_t path)
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().

131 {
132  return OpDetGeo(path.current(), path.currentTransformation<TransformationMatrix>());
133 }
ROOT::Math::Transform3D TransformationMatrix
Type of transformation matrix used in geometry.
geo::PlaneGeo geo::GeometryBuilderStandard::doMakePlane ( Path_t path)
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().

156 {
157  return PlaneGeo{
158  path.current(), path.currentTransformation<TransformationMatrix>(), extractWires(path)};
159 }
Wires_t extractWires(Path_t &path)
Looks for all wires under the specified path.
ROOT::Math::Transform3D TransformationMatrix
Type of transformation matrix used in geometry.
geo::TPCGeo geo::GeometryBuilderStandard::doMakeTPC ( Path_t path)
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().

143 {
144  return TPCGeo{
145  path.current(), path.currentTransformation<TransformationMatrix>(), extractPlanes(path)};
146 }
Planes_t extractPlanes(Path_t &path)
Looks for all wire planes under the specified path.
ROOT::Math::Transform3D TransformationMatrix
Type of transformation matrix used in geometry.
geo::WireGeo geo::GeometryBuilderStandard::doMakeWire ( Path_t path)
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().

169 {
170  return WireGeo{path.current(), path.currentTransformation<TransformationMatrix>()};
171 }
ROOT::Math::Transform3D TransformationMatrix
Type of transformation matrix used in geometry.
AuxDetSensitive_t geo::GeometryBuilderStandard::extractAuxDetSensitive ( Path_t path)
inlineprotectedinherited

Looks for all auxiliary detectors under the specified path.

Parameters
pathpath pointing to the starting node
Returns
a list of fully constructed auxiliary detectors

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.

Note
Multithreading note: path is allowed to change during processing.

Definition at line 179 of file GeometryBuilderStandard.h.

References geo::GeometryBuilderStandard::doExtractAuxDetSensitive().

Referenced by geo::GeometryBuilderStandard::doMakeAuxDet().

180  {
181  auto localPath = path;
182  return doExtractAuxDetSensitive(localPath);
183  }
virtual AuxDetSensitive_t doExtractAuxDetSensitive(Path_t &path)
AuxDets_t geo::GeometryBuilder::extractAuxiliaryDetectors ( Path_t const &  path)
inlineinherited

Looks for all auxiliary detectors under the specified path.

Parameters
pathpath pointing to the starting node
Returns
a list of fully constructed auxiliary detectors

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().

113  {
114  auto myPath = path;
115  return doExtractAuxiliaryDetectors(myPath);
116  }
virtual AuxDets_t doExtractAuxiliaryDetectors(Path_t &path)=0
Custom implementation of extractAuxiliaryDetectors().
Cryostats_t geo::GeometryBuilder::extractCryostats ( Path_t const &  path)
inlineinherited

Looks for all cryostats under the specified path.

Parameters
pathpath pointing to the starting node
Returns
a list of fully constructed cryostats

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().

88  {
89  auto myPath = path;
90  return doExtractCryostats(myPath);
91  }
virtual Cryostats_t doExtractCryostats(Path_t &path)=0
Custom implementation of extractCryostats().
OpDets_t geo::GeometryBuilderStandard::extractOpDets ( Path_t path)
inlineprotectedinherited

Looks for all optical detectors under the specified path.

Parameters
pathpath pointing to the starting node
Returns
a list of fully constructed optical detector objects

Definition at line 234 of file GeometryBuilderStandard.h.

References geo::GeometryBuilderStandard::doExtractOpDets().

Referenced by geo::GeometryBuilderStandard::doMakeCryostat().

235  {
236  auto localPath = path;
237  return doExtractOpDets(localPath);
238  }
virtual OpDets_t doExtractOpDets(Path_t &path)
Planes_t geo::GeometryBuilderStandard::extractPlanes ( Path_t path)
inlineprotectedinherited

Looks for all wire planes under the specified path.

Parameters
pathpath pointing to the starting node
Returns
a list of fully constructed wire plane objects

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().

301  {
302  auto localPath = path;
303  return doExtractPlanes(localPath);
304  }
virtual Planes_t doExtractPlanes(Path_t &path)
TPCs_t geo::GeometryBuilderStandard::extractTPCs ( Path_t path)
inlineprotectedinherited

Looks for all TPCs under the specified path.

Parameters
pathpath pointing to the starting node
Returns
a list of fully constructed TPC objects

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().

268  {
269  auto localPath = path;
270  return doExtractTPCs(localPath);
271  }
virtual TPCs_t doExtractTPCs(Path_t &path)
Wires_t geo::GeometryBuilderStandard::extractWires ( Path_t path)
inlineprotectedinherited

Looks for all wires under the specified path.

Parameters
pathpath pointing to the starting node
Returns
a list of fully constructed wires

Definition at line 332 of file GeometryBuilderStandard.h.

References geo::GeometryBuilderStandard::doExtractWires().

Referenced by geo::GeometryBuilderStandard::doMakePlane().

333  {
334  auto localPath = path;
335  return doExtractWires(localPath);
336  }
virtual Wires_t doExtractWires(Path_t &path)
geo::AuxDetGeo geo::GeometryBuilderStandard::makeAuxDet ( Path_t path)
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().

149 { return doMakeAuxDet(path); }
virtual geo::AuxDetGeo doMakeAuxDet(Path_t &path)
Core implementation of extractAuxiliaryDetectors().
geo::AuxDetSensitiveGeo geo::GeometryBuilderStandard::makeAuxDetSensitive ( Path_t path)
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().

188  {
189  return doMakeAuxDetSensitive(path);
190  }
virtual geo::AuxDetSensitiveGeo doMakeAuxDetSensitive(Path_t &path)
Core implementation of makeAuxDetSensitive().
geo::CryostatGeo geo::GeometryBuilderStandard::makeCryostat ( Path_t path)
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().

210 { return doMakeCryostat(path); }
virtual geo::CryostatGeo doMakeCryostat(Path_t &path)
Core implementation of extractAuxDetSensitive().
geo::OpDetGeo geo::GeometryBuilderStandard::makeOpDet ( Path_t path)
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().

241 { return doMakeOpDet(path); }
virtual geo::OpDetGeo doMakeOpDet(Path_t &path)
Core implementation of makeOpDet().
geo::PlaneGeo geo::GeometryBuilderStandard::makePlane ( Path_t path)
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().

307 { return doMakePlane(path); }
virtual geo::PlaneGeo doMakePlane(Path_t &path)
Core implementation of makePlanes().
geo::TPCGeo geo::GeometryBuilderStandard::makeTPC ( Path_t path)
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().

274 { return doMakeTPC(path); }
virtual geo::TPCGeo doMakeTPC(Path_t &path)
Core implementation of makeTPC().
geo::WireGeo geo::GeometryBuilderStandard::makeWire ( Path_t path)
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().

339 { return doMakeWire(path); }
virtual geo::WireGeo doMakeWire(Path_t &path)
Core implementation of makeWire().

Member Data Documentation

Path_t::Depth_t geo::GeometryBuilderStandard::fMaxDepth = std::numeric_limits<Path_t::Depth_t>::max()
protectedinherited

Maximum level to descend into in the path.

Definition at line 137 of file GeometryBuilderStandard.h.

Referenced by geo::GeometryBuilderStandard::doExtractGeometryObjects().

std::string geo::GeometryBuilderStandard::fOpDetGeoName = "volOpDetSensitive"
protectedinherited

Name of the optical detector nodes.

Definition at line 140 of file GeometryBuilderStandard.h.

Referenced by geo::GeometryBuilderStandard::doExtractOpDets().


The documentation for this class was generated from the following file: