Main Page | Namespace List | Class List | Directories | File List | Class Members | File Members

plots_jr.C

Go to the documentation of this file.
00001 {
00002 
00003 
00004 
00005 TFile *file0 = TFile::Open("STAplots_5000_jr.root");
00006 TString prefix= "STA";
00007 
00008 /*
00009 for (namw; ++){
00010 
00011 h= file0->Get(...)
00012 c = new TCanvas(Form("%s_%s.eps",file0->GetName(),h->GetName());
00013 }
00014 */
00015 
00016 
00017 TCanvas *c[10];
00018 
00019 for(int it = 0; it < 10; ++it) {
00020   c[it] = new TCanvas(Form("%i", it), "", 800, 800);
00021 }
00022 
00023 gStyle->SetLineWidth(2);
00024 
00025 c[0]->cd();
00026 h_perigee_pull_rho->Fit("gaus");
00027 gStyle->SetOptFit(1);
00028 c[0]->Print(Form("%s_c_rho_pull.eps",prefix.Data()));
00029 
00030 c[1]->cd();
00031 h_perigee_residual_rho->Fit("gaus");
00032 gStyle->SetOptFit(1);
00033 c[1]->Print(Form("%s_c_rho_residual.eps",prefix.Data()));
00034 
00035 c[2]->cd();
00036 h_perigee_residual_theta->Fit("gaus");
00037 gStyle->SetOptFit(1);
00038 c[2]->Print(Form("%s_c_theta_residual.eps",prefix.Data()));
00039 
00040 c[3]->cd();
00041 h_perigee_pull_theta->Fit("gaus");
00042 gStyle->SetOptFit(1);
00043 c[3]->Print(Form("%s_c_theta_pull.eps",prefix.Data()));
00044 
00045 c[4]->cd();
00046 h_perigee_residual_phi->Fit("gaus");
00047 gStyle->SetOptFit(1);
00048 c[4]->Print(Form("%s_c_phi_residual.eps",prefix.Data()));
00049 
00050 c[5]->cd();
00051 h_perigee_pull_phi->Fit("gaus");
00052 gStyle->SetOptFit(1);
00053 c[5]->Print(Form("%s_c_phi_pull.eps",prefix.Data()));
00054 
00055 c[6]->cd();
00056 h_perigee_residual_d0->Fit("gaus");
00057 gStyle->SetOptFit(1);
00058 c[6]->Print(Form("%s_c_d0_residual.eps",prefix.Data()));
00059 
00060 c[7]->cd();
00061 h_perigee_pull_d0->Fit("gaus");
00062 gStyle->SetOptFit(1);
00063 c[7]->Print(Form("%s_c_d0_pull.eps",prefix.Data()));
00064 
00065 c[8]->cd();
00066 h_perigee_residual_z0->Fit("gaus");
00067 gStyle->SetOptFit(1);
00068 c[8]->Print(Form("%s_c_z0_residual.eps",prefix.Data()));
00069 
00070 c[9]->cd();
00071 h_perigee_pull_z0->Fit("gaus");
00072 gStyle->SetOptFit(1);
00073 c[9]->Print(Form("%s_c_z0_pull.eps",prefix.Data()));
00074 
00075 
00076 
00077 
00078 
00079 
00080 }

Generated on Thu Jul 12 14:04:55 2007 for RebassooAnalysis by  doxygen 1.3.9.1