Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
dunedataprep
dunedataprep
DataPrep
Tool
AdcRoiShifter.h
Go to the documentation of this file.
1
// AdcRoiShifter.h
2
3
// David Adams
4
// March 2019
5
//
6
// Tool to shift ROIS.
7
//
8
// Configuration:
9
// LogLevel - 0=silent, 1=init, 2=each event, >2=more
10
// BinOffset - # ticks to shift ROIs
11
//
12
13
#ifndef AdcRoiShifter_H
14
#define AdcRoiShifter_H
15
16
#include "
art/Utilities/ToolMacros.h
"
17
#include "
fhiclcpp/ParameterSet.h
"
18
#include "
dunecore/DuneInterface/Tool/TpcDataTool.h
"
19
#include <string>
20
#include <vector>
21
22
class
AdcRoiShifter
23
:
public
TpcDataTool
{
24
25
public
:
26
27
AdcRoiShifter
(
fhicl::ParameterSet
const
&
ps
);
28
29
DataMap
view
(
const
AdcChannelData
& acd)
const override
;
30
31
DataMap
update
(
AdcChannelData
& acd)
const override
;
32
33
private
:
34
35
using
Name
=
std::string
;
36
37
// Configuration data.
38
int
m_LogLevel
;
39
int
m_BinOffset
;
40
41
};
42
43
44
#endif
AdcRoiShifter::m_BinOffset
int m_BinOffset
Definition:
AdcRoiShifter.h:39
string
std::string string
Definition:
nybbler.cc:12
TpcDataTool.h
AdcRoiShifter::AdcRoiShifter
AdcRoiShifter(fhicl::ParameterSet const &ps)
Definition:
AdcRoiShifter_tool.cc:14
AdcChannelData
Definition:
AdcChannelData.h:95
AdcRoiShifter::view
DataMap view(const AdcChannelData &acd) const override
Definition:
AdcRoiShifter_tool.cc:60
ParameterSet.h
TpcDataTool
Definition:
TpcDataTool.h:17
ToolMacros.h
genie::units::ps
static constexpr double ps
Definition:
Units.h:99
AdcRoiShifter
Definition:
AdcRoiShifter.h:22
AdcRoiShifter::update
DataMap update(AdcChannelData &acd) const override
Definition:
AdcRoiShifter_tool.cc:27
AdcRoiShifter::Name
std::string Name
Definition:
AdcRoiShifter.h:35
DataMap
Definition:
DataMap.h:43
AdcRoiShifter::m_LogLevel
int m_LogLevel
Definition:
AdcRoiShifter.h:38
fhicl::ParameterSet
Definition:
ParameterSet.h:36
Generated by
1.8.11