AdcRoiBuildingService.h
Go to the documentation of this file.
1 // AdcRoiBuildingService.h
2 
3 #ifndef AdcRoiBuildingService_H
4 #define AdcRoiBuildingService_H
5 
6 // David Adams
7 // June 2016
8 //
9 // Interface for a service that builds ROIs in ADC channel data.
10 
11 #include <iostream>
13 
15 
16 public:
17 
18  virtual ~AdcRoiBuildingService() = default;
19 
20  // Build ROIs and set data.rois correspondingly.
21  virtual int build(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
std::string string
Definition: nybbler.cc:12
virtual int build(AdcChannelData &data) const =0
virtual std::ostream & print(std::ostream &out=std::cout, std::string prefix="") const =0
virtual ~AdcRoiBuildingService()=default
#define DECLARE_ART_SERVICE_INTERFACE(svc, scope)