AdcRoiSlicer.h
Go to the documentation of this file.
1 // AdcRoiSlicer.h
2 
3 // David Adams
4 // September 2019
5 //
6 // Tool to slice ADC data on ROI boundaries.
7 //
8 // Configuration parameters.
9 // LogLevel - Logging level (0=none, 1=ctor only, ...)
10 // OutViewName - Name for the view where the slices are recorded.
11 // SliceOpt - 1 = ROIs, 2 = not ROIs, 3 = both
12 // CopyRaw - If true, raw data is copied to the new view
13 
14 #ifndef AdcRoiSlicer_H
15 #define AdcRoiSlicer_H
16 
18 #include "fhiclcpp/ParameterSet.h"
20 
22 : public TpcDataTool {
23 
24 public:
25 
26  using Name = std::string;
27 
29 
30  DataMap update(AdcChannelData& acd) const override;
31 
32 private:
33 
34  // Configuration data.
38  bool m_CopyRaw;
39 
40 };
41 
42 
43 #endif
std::string string
Definition: nybbler.cc:12
DataMap update(AdcChannelData &acd) const override
Name m_OutViewName
Definition: AdcRoiSlicer.h:36
static constexpr double ps
Definition: Units.h:99
AdcRoiSlicer(fhicl::ParameterSet const &ps)
std::string Name
Definition: AdcRoiSlicer.h:26