All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
StandardGeometryHelper.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
12 
13 // framework libraries
14 #include "messagefacility/MessageLogger/MessageLogger.h"
15 
16 #include <memory>
17 
18 namespace geo
19 {
20 
21  //----------------------------------------------------------------------------
23  {}
24 
25  //----------------------------------------------------------------------------
27  StandardGeometryHelper::doConfigureChannelMapAlg(fhicl::ParameterSet const& sortingParameters,
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::unique_ptr< ChannelMapAlg > ChannelMapAlgPtr_t
Interface to algorithm class for a specific detector channel mapping.
Geometry helper service for detectors with strictly standard mapping.
ChannelMapAlgPtr_t doConfigureChannelMapAlg(fhicl::ParameterSet const &sortingParameters, std::string const &detectorName) const override