Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
lareventdisplay
lareventdisplay
EventDisplay
wfHitDrawers
IWaveformDrawer.h
Go to the documentation of this file.
1
///////////////////////////////////////////////////////////////////////
2
///
3
/// \file IWaveformDrawer.h
4
///
5
/// \brief This provides an interface for tools which are tasked with
6
/// drawing the "wire" data (deconvolved waveforms)
7
///
8
/// \author T. Usher
9
///
10
////////////////////////////////////////////////////////////////////////
11
12
#ifndef IWaveformDrawer_H
13
#define IWaveformDrawer_H
14
15
#include "
fhiclcpp/ParameterSet.h
"
16
#include "
larcoreobj/SimpleTypesAndConstants/RawTypes.h
"
// raw::ChannelID_t
17
#include "nuevdb/EventDisplayBase/View2D.h"
18
#include "TF1.h"
19
20
namespace
evdb_tool
21
{
22
class
IWaveformDrawer
23
{
24
public
:
25
virtual
~IWaveformDrawer
() noexcept =
default
;
26
27
virtual
void
configure
(
const
fhicl::ParameterSet
& pset) = 0;
28
virtual
void
Fill
(evdb::View2D&,
raw::ChannelID_t
&,
float
,
float
) = 0;
29
virtual
void
Draw
(
const
std::string
&,
float
,
float
) = 0;
30
31
virtual
float
getMaximum
()
const
= 0;
32
virtual
float
getMinimum
()
const
= 0;
33
};
34
}
35
36
#endif
evdb_tool::IWaveformDrawer::~IWaveformDrawer
virtual ~IWaveformDrawer() noexcept=default
string
std::string string
Definition:
nybbler.cc:12
evdb_tool::IWaveformDrawer::getMaximum
virtual float getMaximum() const =0
evdb_tool::IWaveformDrawer
Definition:
IWaveformDrawer.h:22
evdb_tool
Definition:
Edge3DDrawer_tool.cc:14
ParameterSet.h
RawTypes.h
evdb_tool::IWaveformDrawer::getMinimum
virtual float getMinimum() const =0
evdb_tool::IWaveformDrawer::Draw
virtual void Draw(const std::string &, float, float)=0
evdb_tool::IWaveformDrawer::configure
virtual void configure(const fhicl::ParameterSet &pset)=0
raw::ChannelID_t
unsigned int ChannelID_t
Type representing the ID of a readout channel.
Definition:
RawTypes.h:28
evdb_tool::IWaveformDrawer::Fill
virtual void Fill(evdb::View2D &, raw::ChannelID_t &, float, float)=0
fhicl::ParameterSet
Definition:
ParameterSet.h:36
Generated by
1.8.11