AdcSignalFindingService.h
Go to the documentation of this file.
1 // AdcSignalFindingService.h
2 
3 #ifndef AdcSignalFindingService_H
4 #define AdcSignalFindingService_H
5 
6 // David Adams
7 // June 2016
8 //
9 // Interface for a service that finds signals in ADC channel data.
10 
11 #include <iostream>
13 
15 
16 public:
17 
18  virtual ~AdcSignalFindingService() =default;
19 
20  // Find signals and set data.signal correspondingly.
21  virtual int find(AdcChannelData& data) const =0;
22 
23  // Print parameters.
24  virtual std::ostream& print(std::ostream& out =std::cout, std::string prefix ="") const =0;
25 
26 };
27 
28 #ifndef __CLING__
31 #endif
32 
33 #endif
virtual int find(AdcChannelData &data) const =0
std::string string
Definition: nybbler.cc:12
virtual std::ostream & print(std::ostream &out=std::cout, std::string prefix="") const =0
virtual ~AdcSignalFindingService()=default
#define DECLARE_ART_SERVICE_INTERFACE(svc, scope)