AdcChannelNoiseRemovalService.h
Go to the documentation of this file.
1 // AdcChannelNoiseRemovalService.h
2 
3 #ifndef AdcChannelNoiseRemovalService_H
4 #define AdcChannelNoiseRemovalService_H
5 
6 // David Adams
7 // August 2016
8 //
9 // Interface for a service that removes noise from an ADC channel.
10 // Note that AdcNoiseRemovalService removes noise for multiple channels.
11 
12 #include <iostream>
14 
16 
17 public:
18 
19  virtual ~AdcChannelNoiseRemovalService() = default;
20 
21  // Remove the noise for selected channels from data.samples and store results
22  // in that same vector.
23  // Return 0 for success.
24  virtual int update(AdcChannelData& data) const =0;
25 
26  // Print parameters.
27  virtual std::ostream& print(std::ostream& out =std::cout, std::string prefix ="") const =0;
28 
29 };
30 
31 #ifndef __CLING__
34 #endif
35 
36 #endif
std::string string
Definition: nybbler.cc:12
virtual std::ostream & print(std::ostream &out=std::cout, std::string prefix="") const =0
virtual ~AdcChannelNoiseRemovalService()=default
virtual int update(AdcChannelData &data) const =0
#define DECLARE_ART_SERVICE_INTERFACE(svc, scope)