HOPS
HOPS class reference
MHO_DefaultPythonPlotVisitor.hh
Go to the documentation of this file.
1 #ifndef MHO_DefaultPythonPlotVisitor_HH__
2 #define MHO_DefaultPythonPlotVisitor_HH__
3 
5 
6 namespace hops
7 {
8 
13 {
14 
15  public:
18 
19  //default visit behavior is fine
20  //add specializations for specific fringe fitters if needed
21 
28  virtual void Plot(MHO_FringeData* data) override;
29 
30  protected:
31  std::string fModulePath; //python module to import (. syntax works, e.g. hops_visualization.fourfit_plot)
32  std::string fFunctionName; //python function to call (must be a free function that accepts MHO_PyFringeDataInterface)
33 
34  virtual void ConstructPlot(MHO_FringeData* data);
35 };
36 
37 } // namespace hops
38 
39 #endif /* end of include guard: MHO_DefaultPythonPlotVisitor_HH__ */
Class MHO_DefaultPythonPlotVisitor.
Definition: MHO_DefaultPythonPlotVisitor.hh:13
MHO_DefaultPythonPlotVisitor()
Definition: MHO_DefaultPythonPlotVisitor.cc:26
std::string fModulePath
Definition: MHO_DefaultPythonPlotVisitor.hh:31
virtual void Plot(MHO_FringeData *data) override
Plots fringe data using default Python plotting utility.
Definition: MHO_DefaultPythonPlotVisitor.cc:32
std::string fFunctionName
Definition: MHO_DefaultPythonPlotVisitor.hh:32
virtual void ConstructPlot(MHO_FringeData *data)
Definition: MHO_DefaultPythonPlotVisitor.cc:70
virtual ~MHO_DefaultPythonPlotVisitor()
Definition: MHO_DefaultPythonPlotVisitor.hh:17
Class MHO_FringeData.
Definition: MHO_FringeData.hh:30
Class MHO_FringePlotVisitor.
Definition: MHO_FringePlotVisitor.hh:13
Definition: fit_gsl.h:54
Definition: MHO_AdhocFlagging.hh:18