LArSoft  v10_04_05
Liquid Argon Software toolkit - https://larsoft.org/
WireReadout.h
Go to the documentation of this file.
1 #ifndef GEO_WireReadout_h
2 #define GEO_WireReadout_h
3 
4 // LArSoft libraries
7 
8 // framework libraries
10 #include "cetlib_except/exception.h"
11 #include "fhiclcpp/fwd.h"
12 
13 // C/C++ standard libraries
14 #include <memory> // std::unique_ptr<>
15 #include <string>
16 
17 namespace geo {
18 
32  class WireReadout {
33  public:
34  virtual ~WireReadout() = default;
35 
36  WireReadoutGeom const& Get() const { return wireReadoutGeom(); }
37 
38  private:
39  virtual WireReadoutGeom const& wireReadoutGeom() const = 0;
40  };
41 
42 }
43 
45 
46 #endif // GEO_WireReadout_h
Interface to a service with a detector-specific, wire-readout geometry.
Definition: WireReadout.h:32
WireReadoutGeom const & Get() const
Definition: WireReadout.h:36
virtual ~WireReadout()=default
Interface for a class providing readout channel mapping to geometry.
virtual WireReadoutGeom const & wireReadoutGeom() const =0
#define DECLARE_ART_SERVICE_INTERFACE(svc, scope)
ROOT libraries.
Interface to geometry for wire readouts .