DUNEGeometryHelper.h
Go to the documentation of this file.
1 /**
2  * @file StandardGeometryHelper.h
3  * @brief Geometry helper service for DUNE geometries
4  * @author rs@fnal.gov
5  *
6  * Handles DUNE-specific information for the generic Geometry service
7  * within LArSoft. Derived from the ExptGeoHelperInterface class.
8  */
9 
10 // Modified Oct 2016 by David Adams.
11 // Add param ChannelMapClass to explicitly specify the mapping class.
12 
13 #ifndef DUNE_ExptGeoHelperInterface_h
14 #define DUNE_ExptGeoHelperInterface_h
15 
17 
18 #include <memory>
19 
20 // Forward declarations
21 namespace geo
22 {
23  class ChannelMapAlg;
24 }
25 
26 // Declaration
27 //
28 namespace dune {
29 
31 public:
32 
33  explicit DUNEGeometryHelper(fhicl::ParameterSet const& pset);
34 
35 private:
36 
37  std::unique_ptr<geo::ChannelMapAlg>
38  doConfigureChannelMapAlg(fhicl::ParameterSet const& sortingParameters,
39  std::string const& detectorName) const override;
40 
41  // FCL params.
42  std::string fChannelMapClass; // Name of the class that does the channel mapping.
43  std::string fGeoSorterClass; // Name of the class that does the sorting.
44 };
45 
46 } // end dune namespace
47 
50  SHARED)
51 
52 #endif // DUNE_ExptGeoHelperInterface_h
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
LArSoft geometry interface.
Definition: ChannelGeo.h:16