Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
dunedataprep
dunedataprep
DataPrep
Tool
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
16
#include "
art/Utilities/ToolMacros.h
"
17
#include "
fhiclcpp/ParameterSet.h
"
18
#include "
dunecore/DuneInterface/Tool/TpcDataTool.h
"
19
#include <vector>
20
21
class
SubtractBaseline
:
TpcDataTool
{
22
23
public
:
24
25
SubtractBaseline
(
fhicl::ParameterSet
const
&
ps
);
26
27
~SubtractBaseline
()
override
=
default
;
28
29
DataMap
update
(
AdcChannelData
& acd)
const override
;
30
31
private
:
32
33
// Configuration data.
34
int
m_LogLevel
;
35
int
m_BaseSampleBins
;
36
float
m_BaseVarCut
;
37
38
};
39
40
41
#endif
TpcDataTool.h
AdcChannelData
Definition:
AdcChannelData.h:95
SubtractBaseline::m_LogLevel
int m_LogLevel
Definition:
SubtractBaseline.h:34
SubtractBaseline::update
DataMap update(AdcChannelData &acd) const override
Definition:
SubtractBaseline_tool.cc:32
ParameterSet.h
TpcDataTool
Definition:
TpcDataTool.h:17
ToolMacros.h
SubtractBaseline::m_BaseVarCut
float m_BaseVarCut
Definition:
SubtractBaseline.h:36
SubtractBaseline::~SubtractBaseline
~SubtractBaseline() override=default
SubtractBaseline
Definition:
SubtractBaseline.h:21
genie::units::ps
static constexpr double ps
Definition:
Units.h:99
SubtractBaseline::m_BaseSampleBins
int m_BaseSampleBins
Definition:
SubtractBaseline.h:35
SubtractBaseline::SubtractBaseline
SubtractBaseline(fhicl::ParameterSet const &ps)
Definition:
SubtractBaseline_tool.cc:17
DataMap
Definition:
DataMap.h:43
fhicl::ParameterSet
Definition:
ParameterSet.h:36
Generated by
1.8.11