AdcMitigationService.h
Go to the documentation of this file.
1 // AdcMitigationService.h
2 
3 #ifndef AdcMitigationService_H
4 #define AdcMitigationService_H
5 
6 // David Adams
7 // May 2016
8 //
9 // Interface for a service that modifies the signals for an ADC channel.
10 
11 #include <iostream>
13 
15 
16 public:
17 
18  virtual ~AdcMitigationService() = default;
19 
20  // Extract the channel, signals and flags. All are pointer types so the caller can use null to
21  // indicate any of the fields are not of interest.
22  virtual int update(AdcChannelData& data) const =0;
23 
24  // Print parameters.
25  virtual std::ostream& print(std::ostream& out =std::cout, std::string prefix ="") const =0;
26 
27 };
28 
29 #ifndef __CLING__
32 #endif
33 
34 #endif
virtual int update(AdcChannelData &data) const =0
std::string string
Definition: nybbler.cc:12
virtual ~AdcMitigationService()=default
#define DECLARE_ART_SERVICE_INTERFACE(svc, scope)
virtual std::ostream & print(std::ostream &out=std::cout, std::string prefix="") const =0