All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 "larcoreobj/SimpleTypesAndConstants/RawTypes.h" // raw::ChannelID_t
16 namespace fhicl { class ParameterSet; }
17 namespace evdb { class View2D; }
18 
19 #include <string>
20 
21 namespace evdb_tool
22 {
24  {
25  public:
26  virtual ~IWaveformDrawer() noexcept = default;
27 
28  virtual void configure(const fhicl::ParameterSet& pset) = 0;
29  virtual void Fill(evdb::View2D&, raw::ChannelID_t&, float, float) = 0;
30  virtual void Draw(const std::string&,float,float) = 0;
31 
32  virtual float getMaximum() const = 0;
33  virtual float getMinimum() const = 0;
34  };
35 }
36 
37 #endif
virtual ~IWaveformDrawer() noexcept=default
virtual void Draw(const std::string &, float, float)=0
virtual float getMinimum() const =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
virtual float getMaximum() const =0