6 TFile *fin =
new TFile(
"../../data/Sample_DISReco_ep.root",
"OPEN");
9 TTree *t_reco = (TTree*)fin->Get(
"event_cluster");
11 TCanvas *c1 =
new TCanvas();
12 t_reco->Draw(
"em_cluster_e:em_cluster_eta",
"em_evtgen_pid==11",
"colz" );
13 htemp->GetXaxis()->SetTitle(
"#eta_{cluster}");
14 htemp->GetYaxis()->SetTitle(
"E_{cluster} (GeV)");
15 c1->Print(
"plots/reco_check_c1.eps");
17 TCanvas *
c2 =
new TCanvas();
18 t_reco->Draw(
"em_evtgen_ptotal:em_evtgen_eta",
"em_evtgen_pid==11",
"colz" );
19 htemp->GetXaxis()->SetTitle(
"#eta_{truth}");
20 htemp->GetYaxis()->SetTitle(
"|p_{truth}| (GeV)");
21 c2->Print(
"plots/reco_check_c2.eps");
23 TCanvas *c3 =
new TCanvas();
24 t_reco->Draw(
"em_cluster_eta:em_evtgen_eta",
"em_evtgen_pid==11",
"colz" );
25 htemp->GetXaxis()->SetTitle(
"#eta_{truth}");
26 htemp->GetYaxis()->SetTitle(
"#eta_{cluster}");
27 c3->Print(
"plots/reco_check_c3.eps");
29 TCanvas *c4 =
new TCanvas();
30 t_reco->Draw(
"em_cluster_e:em_evtgen_ptotal",
"em_evtgen_pid==11",
"colz" );
31 htemp->GetXaxis()->SetTitle(
"|p_{truth}| (GeV)");
32 htemp->GetYaxis()->SetTitle(
"E_{cluster} (GeV)");
33 c4->Print(
"plots/reco_check_c4.eps");
35 TCanvas *c5 =
new TCanvas();
36 t_reco->Draw(
"em_cluster_phi:em_evtgen_phi",
"em_evtgen_pid==11",
"colz" );
37 htemp->GetXaxis()->SetTitle(
"#phi_{truth}");
38 htemp->GetYaxis()->SetTitle(
"#phi_{cluster}");
39 c5->Print(
"plots/reco_check_c5.eps");