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 {
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
virtual ~IWaveformDrawer() noexcept=default
std::string string
Definition: nybbler.cc:12
virtual float getMaximum() const =0
virtual float getMinimum() const =0
virtual void Draw(const std::string &, float, float)=0
virtual void configure(const fhicl::ParameterSet &pset)=0
unsigned int ChannelID_t
Type representing the ID of a readout channel.
Definition: RawTypes.h:28
virtual void Fill(evdb::View2D &, raw::ChannelID_t &, float, float)=0