All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SBNDGeometryHelper.h
Go to the documentation of this file.
1 /**
2  * @file SBNDGeometryHelper.h
3  * @brief Geometry helper service for SBND geometries.
4  * @author Erica Snider (erica@fnal.gov)
5  *
6  * Handles SBND-specific information for the generic Geometry service
7  * within LArSoft. Derived from the `geo::ExptGeoHelperInterface` class.
8  */
9 
10 #ifndef SBNDCODE_GEOMETY_SBNDGEOMETRYHELPER_H
11 #define SBNDCODE_GEOMETY_SBNDGEOMETRYHELPER_H
12 
13 
14 // LArSoft libraries
16 #include "art/Framework/Services/Registry/ServiceDeclarationMacros.h"
17 
18 // C++ libraries
19 #include <memory> // std::unique_ptr<>
20 
21 namespace geo{
22  class ChannelMapAlg;
23 }
24 
25 namespace sbnd
26 {
28  {
29  public:
30  SBNDGeometryHelper(fhicl::ParameterSet const& pset);
31 
32  private:
33  std::unique_ptr<geo::ChannelMapAlg>
34  doConfigureChannelMapAlg(fhicl::ParameterSet const& sortingParameters,
35  std::string const& detectorName) const override;
36  };
37 
38 }
39 DECLARE_ART_SERVICE_INTERFACE_IMPL(sbnd::SBNDGeometryHelper,
41  SHARED)
42 
43 #endif // SBNDCODE_GEOMETY_SBNDGEOMETRYHELPER_H
Interface to a service with detector-specific geometry knowledge.
SBNDGeometryHelper(fhicl::ParameterSet const &pset)
Interface to a service that handles any experiment-specific knowledge that is needed by the Geometry ...
std::unique_ptr< geo::ChannelMapAlg > doConfigureChannelMapAlg(fhicl::ParameterSet const &sortingParameters, std::string const &detectorName) const override
stream1 can override from command line with o or output services user sbnd