RawDigitExtractService.h
Go to the documentation of this file.
1 // RawDigitExtractService.h
2 
3 #ifndef RawDigitExtractService_H
4 #define RawDigitExtractService_H
5 
6 // David Adams
7 // May 2016
8 //
9 // Interface for a service that extracts the ADC signal vector from
10 // a larsoft raw digit. The latter holds the TPC samples for one channel.
11 
12 #include <iostream>
14 
15 namespace raw {
16 class RawDigit;
17 }
18 
20 
21 public:
22 
23  virtual ~RawDigitExtractService() = default;
24 
25  // Extract the data for a channel.
26  // The digit is assigned to the chanel data before the call.
27  virtual int extract(AdcChannelData& acd) const =0;
28 
29  // Print parameters.
30  virtual std::ostream& print(std::ostream& out =std::cout, std::string prefix ="") const =0;
31 
32 };
33 
34 #ifndef __CLING__
37 #endif
38 
39 #endif
std::string string
Definition: nybbler.cc:12
Raw data description.
#define DECLARE_ART_SERVICE_INTERFACE(svc, scope)