LArSoft  v10_04_05
Liquid Argon Software toolkit - https://larsoft.org/
geo::AuxDetGeometry Class Reference

The geometry of one entire detector, as served by art. More...

#include "AuxDetGeometry.h"

Public Member Functions

 AuxDetGeometry (fhicl::ParameterSet const &pset)
 
AuxDetGeometryCore const & GetProvider () const
 
AuxDetGeometryCore const * GetProviderPtr () const
 

Private Attributes

AuxDetGeometryCore fAuxDetGeom
 the actual service provider More...
 

Detailed Description

The geometry of one entire detector, as served by art.

This class extends the interface of the AuxDet geometry service provider, geo::AuxDetGeometryCore, to the one of an art service.

Configuration

In addition to the parameters documented in geo::AuxDetGeometryCore, the following parameters are supported:

  • SortingParameters (a parameter set; default: empty): this configuration is used to create a AuxDetGeoObjectSorter tool, which sorts the LArSoft auxiliary detector geometry objects.
  • ReadoutInitializer (a parameter set; default: empty): this configuration is used for creating a geo::AuxDetInitializer tool. If no configuration is provided, then no initializer is constructed and used during intiialization of the AuxDetReadoutGeom object.

Definition at line 41 of file AuxDetGeometry.h.

Constructor & Destructor Documentation

geo::AuxDetGeometry::AuxDetGeometry ( fhicl::ParameterSet const &  pset)
explicit

Definition at line 29 of file AuxDetGeometry.cc.

References fhicl::ParameterSet::get().

30  : fAuxDetGeom{pset,
31  sorter(pset.get<fhicl::ParameterSet>("SortingParameters", {})),
32  readout_initializer(pset.get<fhicl::ParameterSet>("ReadoutInitializer", {}))}
33 {}
AuxDetGeometryCore fAuxDetGeom
the actual service provider

Member Function Documentation

AuxDetGeometryCore const& geo::AuxDetGeometry::GetProvider ( ) const
inline

Definition at line 45 of file AuxDetGeometry.h.

References fAuxDetGeom.

Referenced by GetProviderPtr().

45 { return fAuxDetGeom; }
AuxDetGeometryCore fAuxDetGeom
the actual service provider
AuxDetGeometryCore const* geo::AuxDetGeometry::GetProviderPtr ( ) const
inline

Definition at line 46 of file AuxDetGeometry.h.

References GetProvider().

46 { return &GetProvider(); }
AuxDetGeometryCore const & GetProvider() const

Member Data Documentation

AuxDetGeometryCore geo::AuxDetGeometry::fAuxDetGeom
private

the actual service provider

Definition at line 49 of file AuxDetGeometry.h.

Referenced by GetProvider().


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