StandardGeometryHelper_service.cc
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////////////
2 /// \file StandardGeometryHelper_service.cc
3 ///
4 /// \author rs@fnal.gov
5 ////////////////////////////////////////////////////////////////////////////////
6 
7 // class header
9 
10 // LArSoft libraries
13 
14 // framework libraries
17 
18 namespace geo
19 {
20 
21  //----------------------------------------------------------------------------
23  {}
24 
25  //----------------------------------------------------------------------------
28  std::string const& /*detectorName*/) const
29  {
30  mf::LogInfo("StandardGeometryHelper")
31  << "Loading channel mapping: ChannelMapStandardAlg";
32  return std::make_unique<geo::ChannelMapStandardAlg>(sortingParameters);
33  }
34 
35 } // namespace geo
36 
StandardGeometryHelper(fhicl::ParameterSet const &pset)
std::string string
Definition: nybbler.cc:12
MaybeLogger_< ELseverityLevel::ELsev_info, false > LogInfo
Interface to a service with detector-specific geometry knowledge.
std::unique_ptr< ChannelMapAlg > ChannelMapAlgPtr_t
Simple implementation of channel mapping.
Geometry helper service for DUNE geometries.
ChannelMapAlgPtr_t doConfigureChannelMapAlg(fhicl::ParameterSet const &sortingParameters, std::string const &detectorName) const override
Access the description of detector geometry.
LArSoft geometry interface.
Definition: ChannelGeo.h:16
#define DEFINE_ART_SERVICE_INTERFACE_IMPL(svc, iface)