Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
srcs
icaruscode
icaruscode
TPC
SignalProcessing
RecoWire
DeconTools
IBaseline.h
Go to the documentation of this file.
1
///////////////////////////////////////////////////////////////////////
2
///
3
/// \file IBaseline.h
4
///
5
/// \brief This provides an interface for tools which are tasked with
6
/// finding the baselines in input waveforms, primarily ROI's
7
///
8
/// \author T. Usher
9
///
10
////////////////////////////////////////////////////////////////////////
11
12
#ifndef IBaseline_H
13
#define IBaseline_H
14
15
#include "fhiclcpp/ParameterSet.h"
16
#include "
larcoreobj/SimpleTypesAndConstants/RawTypes.h
"
// raw::ChannelID_t
17
#include "
icaruscode/TPC/Utilities/tools/SignalProcessingDefs.h
"
18
19
namespace
art
20
{
21
class
TFileDirectory;
22
}
23
24
namespace
icarus_tool
25
{
26
class
IBaseline
27
{
28
public
:
29
virtual
~IBaseline
() noexcept =
default
;
30
31
virtual
void
configure
(
const
fhicl::ParameterSet& pset) = 0;
32
virtual
void
outputHistograms
(art::TFileDirectory&)
const
= 0;
33
34
// Find the baseline
35
virtual
float
GetBaseline
(std::vector<float>
const
&,
raw::ChannelID_t
,
size_t
,
size_t
)
const
= 0;
36
};
37
}
38
39
#endif
icarus_tool::IBaseline::~IBaseline
virtual ~IBaseline() noexcept=default
RawTypes.h
icarus_tool::IBaseline
Definition:
IBaseline.h:26
icarus_tool::IBaseline::outputHistograms
virtual void outputHistograms(art::TFileDirectory &) const =0
raw::ChannelID_t
unsigned int ChannelID_t
Type representing the ID of a readout channel.
Definition:
RawTypes.h:28
SignalProcessingDefs.h
Useful definitions.
icarus_tool::IBaseline::GetBaseline
virtual float GetBaseline(std::vector< float > const &, raw::ChannelID_t, size_t, size_t) const =0
icarus_tool::IBaseline::configure
virtual void configure(const fhicl::ParameterSet &pset)=0
Generated by
1.8.5