LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
Files | |
file | ChannelMapAlg.h |
Interface to algorithm class for a specific detector channel mapping. | |
file | AuxDetGeo.h |
Encapsulate the geometry of an auxiliary detector. | |
file | AuxDetGeometryCore.h |
Access the description of auxiliary detector geometry. | |
file | GeoObjectSorter.h |
Interface to algorithm class for sorting geo::XXXGeo objects. | |
file | AuxDetSensitiveGeo.h |
Encapsulate the geometry of the sensitive portion of an auxiliary detector. | |
file | BoxBoundedGeo.h |
Provides a base class aware of world box coordinates. | |
file | ChannelMapAlg.h |
Interface to algorithm class for a specific detector channel mapping. | |
file | CryostatGeo.h |
Encapsulate the construction of a single cyostat. | |
file | Decomposer.h |
Classes to project and compose a vector on a plane. | |
file | DriftPartitions.h |
Data structures and algorithms to partition a cryostat volume. | |
file | geo_vectors_fhicl.h |
Helpers for reading vectors from FHiCL files. | |
file | geo_vectors_utils.h |
Utilities to extend the interface of geometry vectors. | |
file | geo_vectors_utils_TVector.h |
Specializations of geo_vectors_utils.h for ROOT old vector types. | |
file | GeometryCore.h |
Access the description of detector geometry. | |
file | GeometryDataContainers.h |
Containers to hold one datum per TPC or plane. | |
file | GeoObjectSorter.h |
Interface to algorithm class for sorting geo::XXXGeo objects. | |
file | GeoObjectSorterStandard.h |
Interface to algorithm class for standard sorting of geo::XXXGeo objects. | |
file | LocalTransformation.h |
Class containing local-to-world transformations. | |
file | OpDetGeo.h |
Encapsulate the geometry of an optical detector. | |
file | PlaneGeo.h |
Encapsulate the construction of a single detector plane. | |
file | SimpleGeo.h |
Some simple functions to represent geometry entities. | |
file | StandaloneGeometrySetup.h |
Utilities for one-line geometry initialization. | |
file | TPCGeo.h |
Encapsulate the construction of a single detector plane. | |
file | WireGeo.h |
Encapsulate the geometry of a wire. | |
file | geo_types.h |
Definition of data types for geometry description. | |
file | geo_vectors.h |
Definitions of geometry vector data types. | |
Namespaces | |
geo::vect | |
Utilities to manipulate geometry vectors.The utilities include generic vector interface facilities allowing to use different vector types via templates. | |
geo::vect::extra | |
Convenience utilities not directly related to vectors. | |
lar::util::simple_geo | |
Simple class definitions for geometry concepts. | |
geo | |
Namespace collecting geometry-related classes utilities. | |
Classes | |
class | geo::AuxDetChannelMapAlg |
class | geo::AuxDetGeo |
struct | geo::AuxDetGeometryData_t |
class | geo::AuxDetGeometryCore |
Description of geometry of one set of auxiliary detectors. More... | |
class | geo::AuxDetGeoObjectSorter |
class | geo::AuxDetSensitiveGeo |
class | geo::BoxBoundedGeo |
A base class aware of world box coordinatesAn object describing a simple shape can inherit from this one to gain access to a common boundary checking interface. More... | |
class | geo::ChannelMapAlg |
Interface for a class providing readout channel mapping to geometry. More... | |
class | geo::CryostatGeo |
Geometry information for a single cryostat. More... | |
class | geo::DriftPartitions |
Set of drift volumes. More... | |
class | geo::GeoObjectSorter |
class | geo::GeoObjectSorterStandard |
class | geo::LocalTransformation< StoredMatrix > |
Class to transform between world and local coordinates. More... | |
class | geo::OpDetGeo |
class | geo::PlaneGeo |
Geometry information for a single wire plane.The plane is represented in the geometry by a solid which contains wires. Currently, only box solids are well supported. The box which is representation of the plane has some thickness, and it should not be assumed that the wires are in the median section of it, that is, the center of the box may not lie on the plane defined by the wires. More... | |
class | geo::TPCGeo |
Geometry information for a single TPC. More... | |
class | geo::WireGeo |
Geometry description of a TPC wireThe wire is a single straight segment on a wire plane. Different wires may be connected to the same readout channel. That is of no relevance for the geometry description. More... | |
using | geo::cryostat_id_iterator = details::cryostat_id_iterator_base< geo::CryostatID > |
Forward iterator browsing all cryostats in the detector. More... | |
using | geo::cryostat_iterator = details::geometry_element_iterator< cryostat_id_iterator > |
Forward iterator browsing all cryostats in the detector. More... | |
using | geo::TPC_id_iterator = details::TPC_id_iterator_base< geo::TPCID > |
Forward iterator browsing all TPCs in the detector. More... | |
using | geo::TPC_iterator = details::geometry_element_iterator< TPC_id_iterator > |
Forward iterator browsing all TPCs in the detector. More... | |
using | geo::plane_id_iterator = details::plane_id_iterator_base< geo::PlaneID > |
Forward iterator browsing all planes in the detector. More... | |
using | geo::plane_iterator = details::geometry_element_iterator< plane_id_iterator > |
Forward iterator browsing all planes in the detector. More... | |
using | geo::wire_id_iterator = details::wire_id_iterator_base< geo::WireID > |
Forward iterator browsing all wires in the detector. More... | |
using | geo::wire_iterator = details::geometry_element_iterator< wire_id_iterator > |
Forward iterator browsing all wires in the detector. More... | |
using | geo::TPCset_id_iterator = details::TPCset_id_iterator_base< readout::TPCsetID > |
Forward iterator browsing all TPC sets in the detector. More... | |
using | geo::ROP_id_iterator = details::ROP_id_iterator_base< readout::ROPID > |
Forward iterator browsing all readout planes in the detector. More... | |
std::unique_ptr< geo::GeometryCore > | lar::standalone::SetupGeometryWithChannelMapping (fhicl::ParameterSet const &pset, std::shared_ptr< geo::ChannelMapAlg > channelMap) |
Initializes a LArSoft geometry object. More... | |
template<typename ChannelMapClass , typename... Args> | |
std::unique_ptr< geo::GeometryCore > | lar::standalone::SetupGeometry (fhicl::ParameterSet const &pset, Args &&...args) |
Initializes a LArSoft geometry object. More... | |
geo::GeometryCore
The description of the detector as seen by LArSoft is accessed via LArSoft "geometry system".
A high level explanation of the geometry description is present in the official LArSoft collaboration web site, at the bottom of which further sources are detailed.
The geometry system revolves around the geo::GeometryCore
service provider, which is the hub to access all the geometry information. The information accessible via this interface include:
The service provider can be obtained including larcore/Geometry/Geometry.h
header and calling:
using geo::cryostat_id_iterator = typedef details::cryostat_id_iterator_base<geo::CryostatID> |
Forward iterator browsing all cryostats in the detector.
Prefer asking GeometryCore object for iterators rather than constructing them anew: see geo::GeometryCore::cryostat_id_iterator for the recommended usage. Stand-alone example (not recommended):
Definition at line 1164 of file GeometryCore.h.
using geo::cryostat_iterator = typedef details::geometry_element_iterator<cryostat_id_iterator> |
Forward iterator browsing all cryostats in the detector.
The comments from cryostat_id_iterator are valid here as well. This object has a different dereferenciation operator that obtains the plane directly, or throws on failure.
Definition at line 1174 of file GeometryCore.h.
using geo::plane_id_iterator = typedef details::plane_id_iterator_base<geo::PlaneID> |
Forward iterator browsing all planes in the detector.
Prefer asking the geometry object for iterators rather than constructing them anew: see geo::GeometryCore::plane_id_iterator for the recommended usage. Stand-alone example (not recommended):
Definition at line 1227 of file GeometryCore.h.
using geo::plane_iterator = typedef details::geometry_element_iterator<plane_id_iterator> |
Forward iterator browsing all planes in the detector.
The comments from plane_id_iterator are valid here as well. This object has a different dereferenciation operator that obtains the plane directly, or throws on failure.
Definition at line 1236 of file GeometryCore.h.
using geo::ROP_id_iterator = typedef details::ROP_id_iterator_base<readout::ROPID> |
Forward iterator browsing all readout planes in the detector.
Prefer asking the geometry object for iterators rather than constructing them anew: see geo::GeometryCore::ROP_id_iterator for the recommended usage. Stand-alone example (not recommended):
Definition at line 1309 of file GeometryCore.h.
using geo::TPC_id_iterator = typedef details::TPC_id_iterator_base<geo::TPCID> |
Forward iterator browsing all TPCs in the detector.
Prefer asking the geometry object for iterators rather than constructing them anew: see geo::GeometryCore::TPC_id_iterator for the recommended usage. Stand-alone example (not recommended):
Definition at line 1196 of file GeometryCore.h.
using geo::TPC_iterator = typedef details::geometry_element_iterator<TPC_id_iterator> |
Forward iterator browsing all TPCs in the detector.
The comments from TPC_id_iterator are valid here as well. This object has a different dereferenciation operator that obtains the TPC directly, or throws on failure.
Definition at line 1205 of file GeometryCore.h.
using geo::TPCset_id_iterator = typedef details::TPCset_id_iterator_base<readout::TPCsetID> |
Forward iterator browsing all TPC sets in the detector.
Prefer asking the geometry object for iterators rather than constructing them anew: see geo::GeometryCore::TPCset_id_iterator
for the recommended usage. Stand-alone example (not recommended):
Definition at line 1288 of file GeometryCore.h.
using geo::wire_id_iterator = typedef details::wire_id_iterator_base<geo::WireID> |
Forward iterator browsing all wires in the detector.
Prefer asking the geometry object for iterators rather than constructing them anew: see geo::GeometryCore::wire_id_iterator for the recommended usage. Stand-alone example (not recommended):
Definition at line 1257 of file GeometryCore.h.
using geo::wire_iterator = typedef details::geometry_element_iterator<wire_id_iterator> |
Forward iterator browsing all wires in the detector.
The comments from wire_id_iterator are valid here as well. This object has a different dereferenciation operator that obtains the wire directly, or throws on failure.
Definition at line 1266 of file GeometryCore.h.
std::unique_ptr< geo::GeometryCore > lar::standalone::SetupGeometry | ( | fhicl::ParameterSet const & | pset, |
Args &&... | args | ||
) |
Initializes a LArSoft geometry object.
ChannelMapClass | type of geo::ChannelMapAlg to be used |
Args | (optional) arguments for the construction of channel mapping |
pset | complete set of parameters for geometry configuration |
args | arguments to the channel mapping object constructor |
This function creates, sets up and returns a geometry object using the specified channel mapping. This is a simplified version of SetupGeometryWithChannelMapping()
, that can be used if no special treatment is needed for the channel mapping after construction and before it is made to interact with the geometry.
Note that this function constructs the channel mapping object using a constructor with arguments a parameter set and in addition, optionally, any other argument specified in args
.
Definition at line 157 of file StandaloneGeometrySetup.h.
References fhicl::ParameterSet::get(), and lar::standalone::SetupGeometryWithChannelMapping().
std::unique_ptr< geo::GeometryCore > lar::standalone::SetupGeometryWithChannelMapping | ( | fhicl::ParameterSet const & | pset, |
std::shared_ptr< geo::ChannelMapAlg > | channelMap | ||
) |
Initializes a LArSoft geometry object.
pset | parameters for geometry configuration |
channelMap | channel mapping object to be used, already constructed |
This function creates, sets up and returns a geometry object using the specified channel mapping.
If no set up is required for channel mapping after construction, the use of SetupGeometry()
is preferred over this function.
It is expected that a standard geo::Geometry
service configuration will correctly set up the geometry.
In addition to the parameters documented in geo::GeometryCore
, the following parameters are supported:
RelativePath
path and the base name specified in GDML
parameter; this path is searched for in the directories configured in the FW_SEARCH_PATH
environment variable;GDML
parameter, whose value is used instead; this path is assembled in the same way as the one for GDML
parameter, except that no alternative (wireless) geometry is used even if DisableWiresInG4
is specified (see below); this file is used to load the geometry used in the internal simulation and reconstruction, basically everywhere except for the GEANT4 simulation_nowires
appended before the .gdml
suffixgeo::ChannelMapAlg
); its content is dependent on the chosen implementation of geo::ChannelMapAlg
Definition at line 30 of file StandaloneGeometrySetup.cxx.
References fhicl::ParameterSet::get(), and min.
Referenced by lar::standalone::SetupGeometry().