File indexing completed on 2024-04-06 12:27:13
0001 #include "TObject.h"
0002 #include "SeedPtFunction.h"
0003 #include <vector>
0004 #include <stdio.h>
0005 #include <iostream>
0006 #include <string>
0007 #include <TString.h>
0008 #include <TSystem.h>
0009 #include <TROOT.h>
0010 #include <TStyle.h>
0011 #include <TFile.h>
0012 #include <TCanvas.h>
0013 #include <TFrame.h>
0014 #include <TH2.h>
0015 #include <TH1.h>
0016 #include <TH1D.h>
0017 #include <TF1.h>
0018 #include <TFormula.h>
0019 #include <TGraphErrors.h>
0020 #include <TGraph.h>
0021 #include <TMath.h>
0022
0023
0024 class SeedPtScale : public TObject {
0025
0026 private:
0027
0028 TString dname;
0029 TString Dir;
0030 TString det_id;
0031 TString suffixps ;
0032 TString pname ;
0033
0034 int rbin;
0035 double xbsz ;
0036 double ybsz ;
0037
0038
0039 bool debug;
0040 TCanvas* cv;
0041 char dbplot[11];
0042 TString plot_id ;
0043
0044 TString plot01;
0045 TString plot02;
0046 TString plot03;
0047 TString plot04;
0048 TString plot05;
0049 TString plot06;
0050
0051 TCanvas* c1;
0052 TCanvas* c2;
0053 TCanvas* c3;
0054 TCanvas* c4;
0055 TCanvas* c5;
0056 TCanvas* c6;
0057
0058
0059 public:
0060
0061 SeedPtScale();
0062
0063 ~SeedPtScale();
0064
0065
0066 void PtScale( int type, int st, double h1, double h2, int idx, int np );
0067 void deBugger( TF1* fitfunc, TString funcName ,TH1D* histo, double L2, double H2, int color );
0068 bool BadFitting( TF1* fitfunc, TH1D* histo );
0069
0070 ClassDef(SeedPtScale, 1);
0071
0072 };
0073
0074 #if !defined(__CINT__)
0075 ClassImp(SeedPtScale);
0076 #endif
0077