StandardGeometryHelper.h
Go to the documentation of this file.
1 /**
2  * @file StandardGeometryHelper.h
3  * @brief Geometry helper service for detectors with strictly standard mapping
4  * @author rs@fnal.gov
5  *
6  * Handles detector-specific information for the generic Geometry service
7  * within LArSoft. Derived from the ExptGeoHelperInterface class. This version
8  * provides strictly standard functionality
9  */
10 
11 #ifndef GEO_StandardGeometryHelper_h
12 #define GEO_StandardGeometryHelper_h
13 
14 // LArSoft libraries
17 
18 // C/C++ standard libraries
19 #include <memory> // std::shared_ptr<>
20 
21 namespace geo
22 {
23  /**
24  * @brief Simple implementation of channel mapping
25  *
26  * This ExptGeoHelperInterface implementation serves a ChannelMapStandardAlg
27  * for experiments that are known to work well with it.
28  */
30  public:
31  explicit StandardGeometryHelper(fhicl::ParameterSet const& pset);
32 
33  private:
35  doConfigureChannelMapAlg(fhicl::ParameterSet const& sortingParameters,
36  std::string const& detectorName) const override;
37  };
38 
39 }
40 
43  SHARED)
44 
45 #endif // GEO_StandardGeometryHelper_h
StandardGeometryHelper(fhicl::ParameterSet const &pset)
std::string string
Definition: nybbler.cc:12
Interface to a service with detector-specific geometry knowledge.
DECLARE_ART_SERVICE_INTERFACE_IMPL(MySharedService, art::test::MyServiceInterface, SHARED) DEFINE_ART_SERVICE_INTERFACE_IMPL(MySharedService
std::unique_ptr< ChannelMapAlg > ChannelMapAlgPtr_t
Simple implementation of channel mapping.
ChannelMapAlgPtr_t doConfigureChannelMapAlg(fhicl::ParameterSet const &sortingParameters, std::string const &detectorName) const override
LArSoft geometry interface.
Definition: ChannelGeo.h:16