#pragma once #include #include #include #include #include #include #include "Analyse.hh" #include "Lattice.hh" #include "Crusher.hh" #include "Plotter.hh" #include "Draw2DWorkerThread.hh" #include "TH2.h" #include "TCanvas.h" #include "TGraph.h" class Draw2D { public: Draw2D(int nop, double percent, int nRunsp, std::vector tp, std::vector xp, int nThreads_); ~Draw2D(); void Histo2D(); private: std::vector t; std::vector x; int nRuns; int nThreads; Analyse *myAnalyse; Crusher *myCrusher; Lattice *myLattice; TCanvas* canvasB; TCanvas* canvasB2; TH2D *BM1D_histo; TH2D *BM1D_histo2; TGraph *gr; struct graphArray graphArray; };