All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 // Algorithm includes
13 #include "canvas/Persistency/Common/Ptr.h"
15 
16 #include <vector>
17 
18 //------------------------------------------------------------------------------------------------------------------------------------------
19 namespace reco3d
20 {
21 /**
22  * @brief IHitReader interface class definiton
23  */
25 {
26 public:
27  /**
28  * @brief Virtual Destructor
29  */
30  virtual ~IHitReader() noexcept = default;
31 
32  /**
33  * @brief Interface for configuring the particular algorithm tool
34  *
35  * @param ParameterSet The input set of parameters for configuration
36  */
37  virtual void configure(const fhicl::ParameterSet&) = 0;
38 
39  /**
40  * @brief Scan an input collection of clusters and modify those according
41  * to the specific implementing algorithm
42  *
43  * @param clusterParametersList A list of cluster objects (parameters from associated hits)
44  */
45  virtual bool readHits(const std::vector<art::Ptr<recob::Hit>>&, // input hits
46  std::vector<art::Ptr<recob::Hit>>&, // output hits plane 0
47  std::vector<art::Ptr<recob::Hit>>&, // output hits plane 1
48  std::vector<art::Ptr<recob::Hit>>&) const = 0; // output hits plane 2
49 
50 };
51 
52 } // namespace lar_cluster3d
53 #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:265
IHitReader interface class definiton.
Definition: IHitReader.h:24
virtual ~IHitReader() noexcept=default
Virtual Destructor.