5         TFile *
f = TFile::Open(inFile);
 
    8         gStyle->SetOptStat(kFALSE);
 
   11         TCanvas *
c4=
new TCanvas(
"c4",
"",800,800);
 
   14         nt->Draw(
"mc_p>>hMcP(100,0,5)");
 
   15         nt->Draw(
"mc_p>>hMcAccTpcP(100,0,5)",
"mc_tpc>0",
"E1");
 
   16         hMcAccTpcP->Divide(hMcP);
 
   17         hMcAccTpcP->SetTitle(
"Geometrical Acceptance");
 
   18         hMcAccTpcP->GetXaxis()->SetTitle(
"Momentum (GeV)");
 
   19         hMcAccTpcP->GetYaxis()->SetTitle(
"Acceptance");
 
   21         nt->Draw(
"mc_theta>>hMcTheta(50,0,180)");
 
   22         nt->Draw(
"mc_theta>>hMcAccTpcTheta(50,0,180)",
"mc_tpc>0",
"E1");
 
   23         hMcAccTpcTheta->Divide(hMcTheta);
 
   24         hMcAccTpcTheta->SetTitle(
"Geometrical Acceptance");
 
   25         hMcAccTpcTheta->GetXaxis()->SetTitle(
"#theta (degree)");
 
   26         hMcAccTpcTheta->GetYaxis()->SetTitle(
"Acceptance");
 
   28         nt->Draw(
"mc_phi>>hMcPhi(50,-200,200)");
 
   29         nt->Draw(
"mc_phi>>hMcAccTpcPhi(50,-200,200)",
"mc_tpc>0",
"E1");
 
   30         hMcAccTpcPhi->Divide(hMcPhi);
 
   31         hMcAccTpcPhi->SetTitle(
"Geometrical Acceptance");
 
   32         hMcAccTpcPhi->GetXaxis()->SetTitle(
"#phi (degree)");
 
   33         hMcAccTpcPhi->GetYaxis()->SetTitle(
"Acceptance");
 
   36         TCanvas *
c5=
new TCanvas(
"c5",
"",800,800);
 
   39         TH1F *
f1=
new TH1F(
"f1",
"",100,0,5);
 
   40         ntEvt.Draw(
"acc_tpc>>f1");
 
   41         f1->SetTitle(
"Geometrical Global Acceptance");
 
   42         f1->GetXaxis()->SetTitle(
"Primary Tracks");
 
   43         f1->GetYaxis()->SetTitle(
"Tpc Acceptance");
 
   44         f1->GetYaxis()->SetTitleOffset(1.5);
 
   49         TCanvas *
c6=
new TCanvas(
"c6",
"",800,800);
 
   52         nt->Draw(
"mc_p>>hMcP(100,0,5)");
 
   53         nt->Draw(
"mc_p>>hRecoEffP(100,0,5)",
"mult>0",
"E1");
 
   54         hRecoEffP->Divide(hMcP);
 
   55         hRecoEffP->SetTitle(
"Pattern Recognition Efficiency");
 
   56         hRecoEffP->GetXaxis()->SetTitle(
"Momentum (GeV)");
 
   57         hRecoEffP->GetYaxis()->SetTitle(
"Efficiency");
 
   60         nt->Draw(
"mc_theta>>hMcTheta(50,0,180)");
 
   61         nt->Draw(
"mc_theta>>hRecoEffTheta(50,0,180)",
"mult>0",
"E1");
 
   62         hRecoEffTheta->Divide(hMcTheta);
 
   63         hRecoEffTheta->SetTitle(
"Pattern Recognition Efficiency");
 
   64         hRecoEffTheta->GetXaxis()->SetTitle(
"#theta (degree)");
 
   65         hRecoEffTheta->GetYaxis()->SetTitle(
"Efficiency");
 
   66         hRecoEffTheta->Draw();
 
   68         nt->Draw(
"mc_phi>>hMcPhi(50,-200,200)");
 
   69         nt->Draw(
"mc_phi>>hRecoEffPhi(50,-200,200)",
"mult>0",
"E1");
 
   70         hRecoEffPhi->Divide(hMcPhi);
 
   71         hRecoEffPhi->SetTitle(
"Pattern Recognition Efficiency");
 
   72         hRecoEffPhi->GetXaxis()->SetTitle(
"#phi (degree)");
 
   73         hRecoEffPhi->GetYaxis()->SetTitle(
"Efficiency");
 
   76         TCanvas *
c7=
new TCanvas(
"c7",
"",800,800);
 
   79         TH1F *f1=
new TH1F(
"f1",
"",100,0,5);
 
   80         ntEvt.Draw(
"cand>>f1");
 
   81         f1->SetTitle(
"Number of candidates");
 
   82         f1->GetXaxis()->SetTitle(
"Candidates");
 
   83         f1->GetYaxis()->SetTitle(
"1/evt");
 
   84         f1->GetYaxis()->SetTitleOffset(1.5);
 
   88         TCanvas *
c8=
new TCanvas(
"c8",
"",800,800);
 
   91         TH1F *f1=
new TH1F(
"f1",
"",100,0,5);
 
   92         ntEvt.Draw(
"eff>>f1");
 
   93         f1->SetTitle(
"Number of reconstructed primary tracks");
 
   94         f1->GetXaxis()->SetTitle(
"Primary Tracks");
 
   95         f1->GetYaxis()->SetTitle(
"Efficiency");
 
   96         f1->GetYaxis()->SetTitleOffset(1.5);
 
  100         TCanvas *
c9=
new TCanvas(
"c9",
"",800,800);
 
  103         nt->Draw(
"(mc_p-p):mc_p>>hresp_p(100,0,5,100,-0.5,0.5)",
"mult>0 && (stt>0||tpc>0)",
"colz");
 
  104         hresp_p->SetTitle(
"Resolution");
 
  105         hresp_p->GetXaxis()->SetTitle(
"MC Momentum (GeV)");
 
  106         hresp_p->GetYaxis()->SetTitle(
"(MC Mom - Reco Mom )");
 
  107         hresp_p->GetYaxis()->SetTitleOffset(1.5);
 
  110         nt->Draw(
"(mc_theta-theta):mc_theta>>hrestheta_theta(100,0,100,100,-2,2)",
"mult>0 && (stt>0||tpc>0)",
"colz");
 
  111         hrestheta_theta->SetTitle(
"Resolution");
 
  112         hrestheta_theta->GetXaxis()->SetTitle(
"MC #theta (degree)");
 
  113         hrestheta_theta->GetYaxis()->SetTitle(
"Mc #theta - Reco #theta ");
 
  114         hrestheta_theta->GetYaxis()->SetTitleOffset(1.5);
 
  117         nt->Draw(
"(mc_p-p):mc_theta>>hresp_theta(100,0,100,100,-0.5,0.5)",
"mult>0 &&  (stt>0||tpc>0)",
"colz");
 
  118         hresp_theta->SetTitle(
"Resolution");
 
  119         hresp_theta->GetXaxis()->SetTitle(
"MC #theta (degree)");
 
  120         hresp_theta->GetYaxis()->SetTitle(
"MC Mom - Reco Mom");
 
  121         hresp_theta->GetYaxis()->SetTitleOffset(1.5);
 
  124         nt->Draw(
"(mc_theta-theta):mc_p>>hrestheta_p(100,0,5,100,-2,2)",
"mult>0 &&  (stt>0||tpc>0)",
"colz");
 
  125         hrestheta_p->SetTitle(
"Resolution");
 
  126         hrestheta_p->GetXaxis()->SetTitle(
"MC Momentum (GeV)");
 
  127         hrestheta_p->GetYaxis()->SetTitle(
"Mc #theta - Reco #theta ");
 
  128         hrestheta_p->GetYaxis()->SetTitleOffset(1.5);
 
  131         nt->Draw(
"(mc_phi-phi):mc_phi>>hresphi_phi(100,-200,200,100,-2,2)",
"mult>0 &&  (stt>0||tpc>0)",
"colz");
 
  132         hresphi_phi->SetTitle(
"Resolution");
 
  133         hresphi_phi->GetXaxis()->SetTitle(
"MC Phi (degree)");
 
  134         hresphi_phi->GetYaxis()->SetTitle(
"Mc #phi - Reco #phi ");
 
  135         hresphi_phi->GetYaxis()->SetTitleOffset(1.5);
 
  139         TCanvas *
c20=
new TCanvas(
"c20",
"",800,800);
 
  141         TH1F *
hist=
new TH1F(
"hist",
"Total Momentum distribution",100,0,10);
 
  142         hist->GetXaxis()->SetTitle(
"MC Momentum (GeV)");
 
  143         nt->Draw(
"p>>hist",
"mult>0 && (stt>0 || tpc>0)");
 
  145         TCanvas *
c21=
new TCanvas(
"c21",
"",800,800);
 
  147         TH1F *
hist2=
new TH1F(
"hist2",
"#theta Angle Distribution",100,0,180);
 
  148         hist2->GetXaxis()->SetTitle(
"Theta (degree)");
 
  149         nt->Draw(
"theta>>hist2",
"mult>0 && (stt>0 || tpc>0)");
 
  151         TCanvas *
c22=
new TCanvas(
"c22",
"",800,800);
 
  153         TH1F *
hist3=
new TH1F(
"hist3",
"(Reconstructed Momentum - MC Momentum )/MC Momentum",100,-1,1);
 
  154         hist3->SetStats(kTRUE);
 
  155         hist3->GetXaxis()->SetTitle(
"(Reco-MC)/MC");
 
  156         nt->Draw(
"(mc_p-p)/mc_p>>hist3",
"mult>0 && (stt>0 || tpc>0)");
 
  157         TF1 *
f10 = 
new TF1(
"f10",
"gaus",-0.09,0.09);