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