LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
IWaveformDrawer.h
Go to the documentation of this file.
1 
12 #ifndef IWaveformDrawer_H
13 #define IWaveformDrawer_H
14 
15 #include "larcoreobj/SimpleTypesAndConstants/RawTypes.h" // raw::ChannelID_t
16 namespace fhicl {
17  class ParameterSet;
18 }
19 namespace evdb {
20  class View2D;
21 }
22 
23 #include <string>
24 
25 namespace evdb_tool {
27  public:
28  virtual ~IWaveformDrawer() noexcept = default;
29 
30  virtual void configure(const fhicl::ParameterSet& pset) = 0;
31  virtual void Fill(evdb::View2D&, raw::ChannelID_t&, float, float) = 0;
32  virtual void Draw(const std::string&, float, float) = 0;
33 
34  virtual float getMaximum() const = 0;
35  virtual float getMinimum() const = 0;
36  };
37 }
38 
39 #endif
hist1 Draw("HIST")
TNtupleSim Fill(f1, f2, f3, f4)
Manage all things related to colors for the event display.
parameter set interface
unsigned int ChannelID_t
Type representing the ID of a readout channel.
Definition: RawTypes.h:28