All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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
16 
17 // framework libraries
18 #include "art/Framework/Services/Registry/ServiceDeclarationMacros.h"
19 
20 namespace geo
21 {
22  /**
23  * @brief Simple implementation of channel mapping
24  *
25  * This ExptGeoHelperInterface implementation serves a ChannelMapStandardAlg
26  * for experiments that are known to work well with it.
27  */
29  public:
30  explicit StandardGeometryHelper(fhicl::ParameterSet const& pset);
31 
32  private:
34  doConfigureChannelMapAlg(fhicl::ParameterSet const& sortingParameters,
35  std::string const& detectorName) const override;
36  };
37 
38 }
39 
40 DECLARE_ART_SERVICE_INTERFACE_IMPL(geo::StandardGeometryHelper,
42  SHARED)
43 
44 #endif // GEO_StandardGeometryHelper_h
StandardGeometryHelper(fhicl::ParameterSet const &pset)
Interface to a service with detector-specific geometry knowledge.
std::unique_ptr< ChannelMapAlg > ChannelMapAlgPtr_t
Simple implementation of channel mapping.
Interface to a service that handles any experiment-specific knowledge that is needed by the Geometry ...
ChannelMapAlgPtr_t doConfigureChannelMapAlg(fhicl::ParameterSet const &sortingParameters, std::string const &detectorName) const override