AdcWireBuildingService.h
Go to the documentation of this file.
1 // AdcWireBuildingService.h
2 
3 #ifndef AdcWireBuildingService_H
4 #define AdcWireBuildingService_H
5 
6 // David Adams
7 // June 2016
8 //
9 // Interface for a service that builds a recob::Wire in ADC channel data.
10 
11 #include <iostream>
14 
16 
17 public:
18 
19  typedef std::vector<recob::Wire> WireVector;
20 
21  virtual ~AdcWireBuildingService() = default;
22 
23  // Build wire info.
24  // If wires is not null, the Wire object is stored and managed there.
25  // Otherwise the caller must manage the wire whose pointer is data.wire.
26  virtual int build(AdcChannelData& data, WireVector* wires) const =0;
27 
28  // Print parameters.
29  virtual std::ostream& print(std::ostream& out =std::cout, std::string prefix ="") const =0;
30 
31 };
32 
33 #ifndef __CLING__
36 #endif
37 
38 #endif
std::string string
Definition: nybbler.cc:12
virtual ~AdcWireBuildingService()=default
virtual int build(AdcChannelData &data, WireVector *wires) const =0
std::vector< recob::Wire > WireVector
virtual std::ostream & print(std::ostream &out=std::cout, std::string prefix="") const =0
Declaration of basic channel signal object.
#define DECLARE_ART_SERVICE_INTERFACE(svc, scope)