ThresholdNoiseRemovalService.h
Go to the documentation of this file.
1 // ThresholdNoiseRemovalService.h
2 //
3 // David Adams
4 // August 2016
5 //
6 // Implementation of service that removes samples with magnitude below a threshold.
7 // Intended for demonstration and test.
8 //
9 // Configuration:
10 // LogLevel - message logging level: 0=none, 1=initialization, 2+=every event
11 // Threshold - samples with |value| < Threshold are set to zero
12 
13 #ifndef ThresholdNoiseRemovalService_H
14 #define ThresholdNoiseRemovalService_H
15 
18 
19 namespace geo {
20  class Geometry;
21 }
22 
23 namespace lbne {
24  class ChannelMapService;
25 }
26 
28 
29 public:
30 
32 
33  int update(AdcChannelData& data) const;
34 
35  std::ostream& print(std::ostream& out =std::cout, std::string prefix ="") const;
36 
37 private:
38 
39  // Configuration parameters.
42 
43 };
44 
46 
47 #endif
std::string string
Definition: nybbler.cc:12
float AdcSignal
Definition: AdcTypes.h:21
DECLARE_ART_SERVICE_INTERFACE_IMPL(MySharedService, art::test::MyServiceInterface, SHARED) DEFINE_ART_SERVICE_INTERFACE_IMPL(MySharedService
LArSoft geometry interface.
Definition: ChannelGeo.h:16