IHitReader.h
Go to the documentation of this file.
1 /**
2  * @file IHitReader.h
3  *
4  * @brief This provides an art tool interface definition for reading hits into the SpacePointSolver universe
5  *
6  * @author usher@slac.stanford.edu
7  *
8  */
9 #ifndef IHitReader_h
10 #define IHitReader_h
11 
12 // Framework Includes
13 #include "fhiclcpp/ParameterSet.h"
14 
15 // Algorithm includes
18 
19 //------------------------------------------------------------------------------------------------------------------------------------------
20 namespace reco3d
21 {
22 /**
23  * @brief IHitReader interface class definiton
24  */
26 {
27 public:
28  /**
29  * @brief Virtual Destructor
30  */
31  virtual ~IHitReader() noexcept = default;
32 
33  /**
34  * @brief Interface for configuring the particular algorithm tool
35  *
36  * @param ParameterSet The input set of parameters for configuration
37  */
38  virtual void configure(const fhicl::ParameterSet&) = 0;
39 
40  /**
41  * @brief Scan an input collection of clusters and modify those according
42  * to the specific implementing algorithm
43  *
44  * @param clusterParametersList A list of cluster objects (parameters from associated hits)
45  */
46  virtual bool readHits(const std::vector<art::Ptr<recob::Hit>>&, // input hits
47  std::vector<art::Ptr<recob::Hit>>&, // output hits plane 0
48  std::vector<art::Ptr<recob::Hit>>&, // output hits plane 1
49  std::vector<art::Ptr<recob::Hit>>&) const = 0; // output hits plane 2
50 
51 };
52 
53 } // namespace lar_cluster3d
54 #endif
virtual void configure(const fhicl::ParameterSet &)=0
Interface for configuring the particular algorithm tool.
struct vector vector
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...
Declaration of signal hit object.
IHitReader interface class definiton.
Definition: IHitReader.h:25
virtual ~IHitReader() noexcept=default
Virtual Destructor.