43 lines
675 B
C++
43 lines
675 B
C++
|
#pragma once
|
||
|
|
||
|
#include <iostream>
|
||
|
#include <string>
|
||
|
#include <fstream>
|
||
|
#include <cmath>
|
||
|
#include <vector>
|
||
|
|
||
|
|
||
|
#include "Analyse.hh"
|
||
|
#include "Lattice.hh"
|
||
|
#include "Crusher.hh"
|
||
|
#include "Plotter.hh"
|
||
|
|
||
|
#include "TH2.h"
|
||
|
#include "TCanvas.h"
|
||
|
#include "TGraph.h"
|
||
|
|
||
|
class Draw2D
|
||
|
{
|
||
|
public:
|
||
|
|
||
|
Draw2D(int nop, double percent, int nRunsp, std::vector<Double_t> tp, std::vector<Double_t> xp);
|
||
|
~Draw2D();
|
||
|
|
||
|
void Histo2D();
|
||
|
|
||
|
private:
|
||
|
std::vector<Double_t> t;
|
||
|
std::vector<Double_t> x;
|
||
|
int nRuns;
|
||
|
|
||
|
Analyse *myAnalyse;
|
||
|
Crusher *myCrusher;
|
||
|
Lattice *myLattice;
|
||
|
TCanvas* canvasB;
|
||
|
TCanvas* canvasB2;
|
||
|
TH2D *BM1D_histo;
|
||
|
TH2D *BM1D_histo2;
|
||
|
TGraph *gr;
|
||
|
|
||
|
|
||
|
};
|