SubtractBaseline.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // SubtractBaseline.h
3 //
4 // Tool to preform subtract baseline using linear interpolation between
5 // regions defined by the datasize and fBaseSampleBins
6 //
7 // Configuration:
8 // LogLevel - 0=silent, 1=init, 2=each event, >2=more
9 // BaseSampleBins -
10 // BaseVarCut -
11 //
12 /////////////////////////////////////////////////////////////////////////
13 #ifndef SubtractBaseline_H
14 #define SubtractBaseline_H
15 
17 #include "fhiclcpp/ParameterSet.h"
19 #include <vector>
20 
22 
23 public:
24 
26 
27  ~SubtractBaseline() override =default;
28 
29  DataMap update(AdcChannelData& acd) const override;
30 
31 private:
32 
33  // Configuration data.
36  float m_BaseVarCut;
37 
38 };
39 
40 
41 #endif
DataMap update(AdcChannelData &acd) const override
~SubtractBaseline() override=default
static constexpr double ps
Definition: Units.h:99
SubtractBaseline(fhicl::ParameterSet const &ps)