LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
StandardGeometryHelper.h
Go to the documentation of this file.
1 
11 #ifndef GEO_StandardGeometryHelper_h
12 #define GEO_StandardGeometryHelper_h
13 
14 // LArSoft libraries
16 
17 // C/C++ standard libraries
18 #include <memory> // std::shared_ptr<>
19 
20 // Declaration
21 //
22 namespace geo
23 {
31  {
32  public:
33 
36  ( fhicl::ParameterSet const & pset, art::ActivityRegistry &reg );
37 
38  /*
39  Public interface for ExptGeoHelperInterface (for reference purposes)
40 
41  Configure, initialize and return the channel map:
42 
43  void ConfigureChannelMapAlg
44  (fhicl::ParameterSet const& sortingParameters, geo::GeometryCore* geom);
45 
46  Returns null pointer if the initialization failed:
47 
48  ChannelMapAlgPtr_t GetChannelMapAlg() const;
49  */
50 
51  private:
52 
53  virtual void doConfigureChannelMapAlg
54  (fhicl::ParameterSet const& sortingParameters, geo::GeometryCore* geom)
55  override;
56  virtual ChannelMapAlgPtr_t doGetChannelMapAlg() const override;
57 
58 
60  std::shared_ptr<geo::ChannelMapAlg> fChannelMap;
61 
62  };
63 
64 }
67  )
68 
69 #endif // GEO_StandardGeometryHelper_h
StandardGeometryHelper(fhicl::ParameterSet const &pset, art::ActivityRegistry &reg)
Constructor; follows the standard art service signature.
virtual ChannelMapAlgPtr_t doGetChannelMapAlg() const override
Returns the ChannelMapAlg.
Interface to a service with detector-specific geometry knowledge.
std::shared_ptr< const ChannelMapAlg > ChannelMapAlgPtr_t
Simple implementation of channel mapping.
fhicl::ParameterSet fPset
copy of configuration parameter set
virtual void doConfigureChannelMapAlg(fhicl::ParameterSet const &sortingParameters, geo::GeometryCore *geom) override
Implementation of ConfigureChannelMapAlg (pure virtual)
Interface to a service that handles any experiment-specific knowledge that is needed by the Geometry ...
Description of geometry of one entire detector.
std::shared_ptr< geo::ChannelMapAlg > fChannelMap
channel map algorithm
Namespace collecting geometry-related classes utilities.
#define DECLARE_ART_SERVICE_INTERFACE_IMPL(svc, iface, scope)