IWFHitDrawer.h
Go to the documentation of this file.
1 ///////////////////////////////////////////////////////////////////////
2 ///
3 /// \file IWFHitDrawers.h
4 ///
5 /// \brief This provides an interface for tools which are tasked with
6 /// drawing the reconstructed hits on waveforms
7 ///
8 /// \author T. Usher
9 ///
10 ////////////////////////////////////////////////////////////////////////
11 
12 #ifndef IWFHitDrawer_H
13 #define IWFHitDrawer_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 ~IWFHitDrawer() noexcept = default;
26 
27  virtual void configure(const fhicl::ParameterSet& pset) = 0;
28  virtual void Draw(evdb::View2D&,
29  raw::ChannelID_t&) const = 0;
30  };
31 }
32 
33 #endif
virtual void Draw(evdb::View2D &, raw::ChannelID_t &) const =0
virtual ~IWFHitDrawer() noexcept=default
virtual void configure(const fhicl::ParameterSet &pset)=0
unsigned int ChannelID_t
Type representing the ID of a readout channel.
Definition: RawTypes.h:28