4 TString
fname(
"eicana_disreco_test.root" );
6 TFile *fin =
new TFile( fname ,
"OPEN" );
8 TTree *
event = (TTree*)fin->Get(
"event");
12 TCanvas *ctemp =
new TCanvas();
13 event->Draw(
"1",
"em_cluster_e>0");
14 cout <<
"EM candidates total: " << htemp->GetEntries() << endl;
15 event->Draw(
"1",
"em_cluster_e>1 && em_cluster_prob > 0.01");
16 cout <<
"EM candidates E_cluster > 1 GeV && Prob_EM > 0.01: " << htemp->GetEntries() << endl;
17 event->Draw(
"1",
"em_cluster_e>1 && em_cluster_prob > 0.01 && em_track_cluster_dr < 0.01");
18 cout <<
"EM candidates E_cluster > 1 GeV && Prob_EM > 0.01 && dr_cluster_track < 0.01: " << htemp->GetEntries() << endl;
20 TCanvas *c0 =
new TCanvas();
21 event->Draw(
"em_track_cluster_dr",
24 TCanvas *c1 =
new TCanvas();
26 "em_cluster_e>1 && em_cluster_prob > 0.01");
28 TCanvas *
c2 =
new TCanvas();
29 event->Draw(
"(-1*log( tan( em_track_theta / 2. ) ) ) - em_evtgen_eta : em_evtgen_eta",
30 "em_cluster_e>1 && em_cluster_prob > 0.01 && em_track_cluster_dr < 0.01");