LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
IHitReader.h
Go to the documentation of this file.
1 
9 #ifndef IHitReader_h
10 #define IHitReader_h
11 
12 // Algorithm includes
15 
16 #include <vector>
17 
18 //------------------------------------------------------------------------------------------------------------------------------------------
19 namespace reco3d {
23  class IHitReader {
24  public:
28  virtual ~IHitReader() noexcept = default;
29 
35  virtual void configure(const fhicl::ParameterSet&) = 0;
36 
43  virtual bool readHits(const std::vector<art::Ptr<recob::Hit>>&, // input hits
44  std::vector<art::Ptr<recob::Hit>>&, // output hits plane 0
45  std::vector<art::Ptr<recob::Hit>>&, // output hits plane 1
46  std::vector<art::Ptr<recob::Hit>>&) const = 0; // output hits plane 2
47  };
48 
49 } // namespace lar_cluster3d
50 #endif
virtual void configure(const fhicl::ParameterSet &)=0
Interface for configuring the particular algorithm tool.
Declaration of signal hit object.
virtual bool readHits(const std::vector< art::Ptr< recob::Hit >> &, std::vector< art::Ptr< recob::Hit >> &, std::vector< art::Ptr< recob::Hit >> &, std::vector< art::Ptr< recob::Hit >> &) const =0
Scan an input collection of clusters and modify those according to the specific implementing algorith...
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
Definition: DumpUtils.h:289
IHitReader interface class definiton.
Definition: IHitReader.h:23
virtual ~IHitReader() noexcept=default
Virtual Destructor.