30 const TString
infile =
"../../sPHENIX_work/production_analysis_cemc2x2//emcstudies/pidstudies/spacal2d/fieldmap/G4Hits_sPHENIX_e-_eta0_8GeV-ALL.root_Ana.root.lst_EMCalLikelihood.root"
86 gStyle->SetOptStat(0);
87 gStyle->SetOptFit(1111);
88 TVirtualFitter::SetDefaultFitter(
"Minuit2");
90 gSystem->Load(
"libg4eval.so");
91 gSystem->Load(
"libemcal_ana.so");
92 gSystem->Load(
"libg4vertex.so");
96 TString chian_str =
infile;
97 chian_str.ReplaceAll(
"ALL",
"*");
98 chian_str.ReplaceAll(
"+",
"\\+");
100 TChain *
t =
new TChain(
"T");
101 const int n = t->Add(chian_str);
103 cout <<
"Loaded " << n <<
" root files with " << chian_str << endl;
113 TObjArray *fileElements = t->GetListOfFiles();
114 TIter
next(fileElements);
115 TChainElement *chEl = 0;
116 while ((chEl = (TChainElement*)
next()))
118 flst << chEl->GetTitle() << endl;
122 cout <<
"Saved file list to " <<
infile +
".lst" << endl;
127 T->SetAlias(
"UpsilonPair_trk_gpt",
128 "1*sqrt(DST.UpsilonPair.trk.gpx**2 + DST.UpsilonPair.trk.gpy**2)");
129 T->SetAlias(
"UpsilonPair_trk_pt",
130 "1*sqrt(DST.UpsilonPair.trk.px**2 + DST.UpsilonPair.trk.py**2)");
132 T->SetAlias(
"EMCalTrk_pt",
"1*sqrt(DST.EMCalTrk.px**2 + DST.EMCalTrk.py**2)");
133 T->SetAlias(
"EMCalTrk_gpt",
134 "1*sqrt(DST.EMCalTrk.gpx**2 + DST.EMCalTrk.gpy**2)");
139 cout <<
"Build event selection of " << (
const char *) event_sel << endl;
141 T->Draw(
">>EventList", event_sel);
142 TEventList * elist = gDirectory->GetObjectChecked(
"EventList",
"TEventList");
143 cout << elist->GetN() <<
" / " <<
T->GetEntriesFast() <<
" events selected"
146 T->SetEventList(elist);
154 Edep_Checks(
infile, 1.4, 1.4,
"abs(EMCalTrk_pt/EMCalTrk_gpt - 1)<0.05 && DST.EMCalTrk.cemce>2");
161 TCanvas *c1 =
new TCanvas(
"MakeRadiusCut" +
cuts,
"MakeRadiusCut" +
cuts,
167 p = (TPad *) c1->cd(idx++);
171 T->Draw(
"DST.EMCalTrk.cemc_iphi>>hcemc_iphi(130,-6.5,6.5)",
172 TString(
"DST.EMCalTrk.cemc_energy * (")
173 + TString(good_track_cut.GetTitle()) +
")");
174 hcemc_iphi->SetTitle(
175 ";CEMC Azimuthal Distance (Tower Width);Energy Distribution");
176 hcemc_iphi->Fit(
"gaus",
"M");
177 TF1*
f = (TF1*) (hcemc_iphi->GetListOfFunctions()->At(0));
179 T->SetAlias(
"EMCalTrk_cor_cemc_iphi",
180 Form(
"DST.EMCalTrk.cemc_iphi - %f", f->GetParameter(1)));
182 const double center_cemc_iphi = f->GetParameter(1);
184 p = (TPad *) c1->cd(idx++);
188 T->Draw(
"abs(EMCalTrk_cor_cemc_iphi)>>hEMCalTrk_cor_cemc_iphi(130,0,6.5)",
189 TString(
"DST.EMCalTrk.cemc_energy * (")
190 + TString(good_track_cut.GetTitle()) +
")");
192 p->DrawFrame(0, 1
e-3, 6.5, 1,
193 ";CEMC Azimuthal Distance (Tower Width);Energy Leakage Ratio");
195 ge->SetLineColor(kBlue + 2);
196 ge->SetMarkerColor(kBlue + 21);
197 ge->SetMarkerColor(kFullCircle);
201 p = (TPad *) c1->cd(idx++);
205 T->Draw(
"DST.EMCalTrk.cemc_ieta>>hcemc_ieta(130,-6.5,6.5)",
206 TString(
"DST.EMCalTrk.cemc_energy * (")
207 + TString(good_track_cut.GetTitle()) +
")");
208 hcemc_ieta->SetTitle(
209 ";CEMC Polar Distance (Tower Width);Energy Distribution");
210 hcemc_ieta->Fit(
"gaus",
"M");
211 TF1* f = (TF1*) (hcemc_ieta->GetListOfFunctions()->At(0));
213 T->SetAlias(
"EMCalTrk_cor_cemc_ieta",
214 Form(
"DST.EMCalTrk.cemc_ieta - %f", f->GetParameter(1)));
216 const double center_cemc_ieta = f->GetParameter(1);
218 p = (TPad *) c1->cd(idx++);
222 T->Draw(
"abs(EMCalTrk_cor_cemc_ieta)>>hEMCalTrk_cor_cemc_ieta(130,0,6.5)",
223 TString(
"DST.EMCalTrk.cemc_energy * (")
224 + TString(good_track_cut.GetTitle()) +
")");
226 p->DrawFrame(0, 1
e-3, 6.5, 1,
227 ";CEMC Polar Distance (Tower Width);Energy Leakage Ratio");
229 ge->SetLineColor(kBlue + 2);
230 ge->SetMarkerColor(kBlue + 21);
231 ge->SetMarkerColor(kFullCircle);
235 p = (TPad *) c1->cd(idx++);
239 T->Draw(
"DST.EMCalTrk.hcalin_iphi>>hhcalin_iphi(130,-6.5,6.5)",
240 TString(
"DST.EMCalTrk.hcalin_energy * (")
241 + TString(good_track_cut.GetTitle()) +
")");
242 hhcalin_iphi->SetTitle(
243 ";HCal_{IN} Azimuthal Distance (Tower Width);Energy Distribution");
244 hhcalin_iphi->Fit(
"gaus",
"M");
245 TF1* f = (TF1*) (hhcalin_iphi->GetListOfFunctions()->At(0));
247 T->SetAlias(
"EMCalTrk_cor_hcalin_iphi",
248 Form(
"DST.EMCalTrk.hcalin_iphi - %f", f->GetParameter(1)));
250 const double center_hcalin_iphi = f->GetParameter(1);
252 p = (TPad *) c1->cd(idx++);
256 T->Draw(
"abs(EMCalTrk_cor_hcalin_iphi)>>hEMCalTrk_cor_hcalin_iphi(130,0,6.5)",
257 TString(
"DST.EMCalTrk.hcalin_energy * (")
258 + TString(good_track_cut.GetTitle()) +
")");
260 p->DrawFrame(0, 1
e-3, 6.5, 1,
261 ";HCal_{IN} Azimuthal Distance (Tower Width);Energy Leakage Ratio");
263 ge->SetLineColor(kBlue + 2);
264 ge->SetMarkerColor(kBlue + 21);
265 ge->SetMarkerColor(kFullCircle);
269 p = (TPad *) c1->cd(idx++);
273 T->Draw(
"DST.EMCalTrk.hcalin_ieta>>hhcalin_ieta(130,-6.5,6.5)",
274 TString(
"DST.EMCalTrk.hcalin_energy * (")
275 + TString(good_track_cut.GetTitle()) +
")");
276 hhcalin_ieta->SetTitle(
277 ";HCal_{IN} Polar Distance (Tower Width);Energy Distribution");
278 hhcalin_ieta->Fit(
"gaus",
"M");
279 TF1* f = (TF1*) (hhcalin_ieta->GetListOfFunctions()->At(0));
281 T->SetAlias(
"EMCalTrk_cor_hcalin_ieta",
282 Form(
"DST.EMCalTrk.hcalin_ieta - %f", f->GetParameter(1)));
284 const double center_hcalin_ieta = f->GetParameter(1);
286 p = (TPad *) c1->cd(idx++);
290 T->Draw(
"abs(EMCalTrk_cor_hcalin_ieta)>>hEMCalTrk_cor_hcalin_ieta(130,0,6.5)",
291 TString(
"DST.EMCalTrk.hcalin_energy * (")
292 + TString(good_track_cut.GetTitle()) +
")");
294 p->DrawFrame(0, 1
e-3, 6.5, 1,
295 ";HCal_{IN} Polar Distance (Tower Width);Energy Leakage Ratio");
297 ge->SetLineColor(kBlue + 2);
298 ge->SetMarkerColor(kBlue + 21);
299 ge->SetMarkerColor(kFullCircle);
303 T->SetAlias(
"EMCalTrk_cemc_e",
305 "1*Sum$( DST.EMCalTrk.cemc_energy * ( sqrt(EMCalTrk_cor_cemc_iphi*EMCalTrk_cor_cemc_iphi + EMCalTrk_cor_cemc_ieta*EMCalTrk_cor_cemc_ieta) < %f ) )",
307 T->SetAlias(
"EMCalTrk_hcalin_e",
309 "1*Sum$( DST.EMCalTrk.hcalin_energy * ( sqrt(EMCalTrk_cor_hcalin_iphi*EMCalTrk_cor_hcalin_iphi + EMCalTrk_cor_hcalin_ieta*EMCalTrk_cor_hcalin_ieta) < %f ) )",
312 T->SetAlias(
"EMCalTrk_cemc_ntower",
314 "1*Sum$(( sqrt(EMCalTrk_cor_cemc_iphi*EMCalTrk_cor_cemc_iphi + EMCalTrk_cor_cemc_ieta*EMCalTrk_cor_cemc_ieta) < %f ) )",
316 T->SetAlias(
"EMCalTrk_hcalin_ntower",
318 "1*Sum$( ( sqrt(EMCalTrk_cor_hcalin_iphi*EMCalTrk_cor_hcalin_iphi + EMCalTrk_cor_hcalin_ieta*EMCalTrk_cor_hcalin_ieta) < %f ) )",
322 TString(
_file0->GetName()) + TString(
"_DrawEcal_pDST_")
323 + Form(
"RCEMC%.1f_RCEMC%.1f_", R_CEMC, R_HCALIN)
324 + TString(c1->GetName()), kFALSE);
326 cout <<
"///////////////////////////////////////////////" << endl;
327 cout <<
"// Projection center based on " <<
_file0->GetName() << endl;
328 cout <<
"///////////////////////////////////////////////" << endl;
330 cout <<
"const double center_cemc_iphi = " << center_cemc_iphi <<
"; // "
331 <<
_file0->GetName() << endl;
332 cout <<
"const double center_cemc_ieta = " << center_cemc_ieta <<
"; // "
333 <<
_file0->GetName() << endl;
334 cout <<
"const double center_hcalin_iphi = " << center_hcalin_iphi <<
"; // "
335 <<
_file0->GetName() << endl;
336 cout <<
"const double center_hcalin_ieta = " << center_hcalin_ieta <<
"; // "
337 <<
_file0->GetName() << endl;
347 double N_Event =
T->GetEntries();
349 TCanvas *c1 =
new TCanvas(
"Edep_Checks" +
cuts,
"Edep_Checks" +
cuts, 1900,
355 p = (TPad *) c1->cd(idx++);
358 T->Draw(
"EMCalTrk_cemc_ntower>>hEMCalTrk_cemc_ntower(16,-.5,15.5)",
360 hEMCalTrk_cemc_ntower->SetTitle(
361 Form(
"CEMC Cluster Size (R = %.1f);Cluster Size (Towers);Probability",
363 hEMCalTrk_cemc_ntower->Scale(1. / N_Event);
365 p = (TPad *) c1->cd(idx++);
368 T->Draw(
"EMCalTrk_hcalin_ntower>>hEMCalTrk_hcalin_ntower(16,-.5,15.5)",
370 hEMCalTrk_hcalin_ntower->SetTitle(
372 "HCal_{in} Cluster Size (R = %.1f);Cluster Size (Towers);Probability",
374 hEMCalTrk_hcalin_ntower->Scale(1. / N_Event);
376 p = (TPad *) c1->cd(idx++);
379 T->Draw(
"EMCalTrk_cemc_e>>hEMCalTrk_cemc_e(240,-.0,12)", good_track_cut);
380 hEMCalTrk_cemc_e->SetTitle(
382 "CEMC Cluster Energy (R = %.1f);Cluster Energy (/bin);Probability/bin",
384 hEMCalTrk_cemc_e->Scale(1. / N_Event);
386 p = (TPad *) c1->cd(idx++);
389 T->Draw(
"EMCalTrk_hcalin_e>>hEMCalTrk_hcalin_e(240,-.0,12)", good_track_cut);
390 hEMCalTrk_hcalin_e->SetTitle(
392 "HCal_{in} Cluster Energy (R = %.1f);Cluster Energy (GeV);Probability/bin",
394 hEMCalTrk_hcalin_e->Scale(1. / N_Event);
397 TString(
_file0->GetName()) + TString(
"_DrawEcal_pDST_")
398 + Form(
"RCEMC%.1f_RCEMC%.1f_", R_CEMC, R_HCALIN)
399 + TString(c1->GetName()), kFALSE);
401 TCanvas *c1 =
new TCanvas(
"Edep_Checks_2D" +
cuts,
"Edep_Checks_2D" +
cuts,
407 p = (TPad *) c1->cd(idx++);
411 "EMCalTrk_hcalin_e:EMCalTrk_cemc_e>>h2_EMCalTrk_hcalin_e_EMCalTrk_cemc_e(240,-.0,12, 240,-.0,12)",
412 good_track_cut,
"colz");
413 h2_EMCalTrk_hcalin_e_EMCalTrk_cemc_e->SetTitle(
415 "Energy distribution;CEMC Cluster Energy (R = %.1f) in GeV;HCal_{in} Cluster Energy (R = %.1f) in GeV",
417 h2_EMCalTrk_hcalin_e_EMCalTrk_cemc_e->Scale(1. / N_Event);
418 h2_EMCalTrk_hcalin_e_EMCalTrk_cemc_e->GetZaxis()->SetRangeUser(1
e-6, 1);
421 TString(
_file0->GetName()) + TString(
"_DrawEcal_pDST_")
422 + Form(
"RCEMC%.1f_RCEMC%.1f_", R_CEMC, R_HCALIN)
423 + TString(c1->GetName()), kFALSE);
431 double N_Event =
T->GetEntries();
433 TCanvas *c1 =
new TCanvas(
"TrackProjection_Checks_Raw" +
cuts,
434 "TrackProjection_Checks_Raw" +
cuts, 1800, 900);
439 p = (TPad *) c1->cd(idx++);
443 "DST.EMCalTrk.cemc_iphi:DST.EMCalTrk.cemc_ieta>>hcemc(130,-6.5,6.5,130,-6.5,6.5)",
444 "DST.EMCalTrk.cemc_energy",
"colz");
446 "CEMC Tower Energy Distribution;Polar Distance (Tower Width);Azimuthal Distance (Tower Width)");
447 hcemc->Scale(1. / N_Event);
448 hcemc->GetZaxis()->SetRangeUser(1
e-5, 30);
450 p = (TPad *) c1->cd(idx++);
454 "DST.EMCalTrk.hcalin_iphi:DST.EMCalTrk.hcalin_ieta>>hcalin(130,-6.5,6.5,130,-6.5,6.5)",
455 "DST.EMCalTrk.hcalin_energy",
"colz");
457 "HCal_{in} Tower Energy Distribution;Polar Distance (Tower Width);Azimuthal Distance (Tower Width)");
458 hcalin->Scale(1. / N_Event);
459 hcalin->GetZaxis()->SetRangeUser(1
e-5, 30);
462 TString(
_file0->GetName()) + TString(
"_DrawEcal_pDST_")
463 + TString(c1->GetName()), kFALSE);
465 TCanvas *c1 =
new TCanvas(
"TrackProjection_Checks_Tracking" +
cuts,
466 "TrackProjection_Checks_Tracking" +
cuts, 1800, 900);
471 p = (TPad *) c1->cd(idx++);
474 T->Draw(
"EMCalTrk_pt/EMCalTrk_gpt>>htracking_pt(100,0,2)",
"",
"");
475 htracking_pt->SetTitle(
476 "Tracking reco precision;p_{T, reco}/p_{T, truth};Probability per bin");
477 htracking_pt->Scale(1. / N_Event);
478 T->Draw(
"EMCalTrk_pt/EMCalTrk_gpt>>htracking_pt_cut(100,0,2)", good_track_cut,
480 htracking_pt_cut->Scale(1. / N_Event);
481 htracking_pt_cut->SetLineColor(kRed);
483 p = (TPad *) c1->cd(idx++);
487 T->Draw(
"EMCalTrk_pt/EMCalTrk_gpt>0>>h_have_trak(3,-.5,2.5)",
"",
"");
488 h_have_trak->Scale(1. / N_Event);
489 T->Draw(
"2>>h_have_trak_cut(3,-.5,2.5)", good_track_cut,
"same");
490 h_have_trak_cut->Scale(1. / N_Event);
491 h_have_trak_cut->SetLineColor(kRed);
494 TString(
_file0->GetName()) + TString(
"_DrawEcal_pDST_")
495 + TString(c1->GetName()), kFALSE);
497 TCanvas *c1 =
new TCanvas(
"TrackProjection_Checks_Cut" +
cuts,
498 "TrackProjection_Checks_Cut" +
cuts, 1800, 900);
503 p = (TPad *) c1->cd(idx++);
507 "DST.EMCalTrk.cemc_iphi:DST.EMCalTrk.cemc_ieta>>hcemcc(130,-6.5,6.5,130,-6.5,6.5)",
508 TString(
"DST.EMCalTrk.cemc_energy * (")
509 + TString(good_track_cut.GetTitle()) +
")",
"colz");
511 "CEMC Tower Energy Distribution;Polar Distance (Tower Width);Azimuthal Distance (Tower Width)");
512 hcemcc->Scale(1. / N_Event);
513 hcemcc->GetZaxis()->SetRangeUser(1
e-5, 30);
515 p = (TPad *) c1->cd(idx++);
519 "DST.EMCalTrk.hcalin_iphi:DST.EMCalTrk.hcalin_ieta>>hcalinc(130,-6.5,6.5,130,-6.5,6.5)",
520 TString(
"DST.EMCalTrk.hcalin_energy * (")
521 + TString(good_track_cut.GetTitle()) +
")",
"colz");
523 "HCal_{in} Tower Energy Distribution;Polar Distance (Tower Width);Azimuthal Distance (Tower Width)");
524 hcalinc->Scale(1. / N_Event);
525 hcalinc->GetZaxis()->SetRangeUser(1
e-5, 30);
528 TString(
_file0->GetName()) + TString(
"_DrawEcal_pDST_")
529 + TString(c1->GetName()), kFALSE);
531 TCanvas *c1 =
new TCanvas(
"TrackProjection_Checks_Proj" +
cuts,
532 "TrackProjection_Checks_Proj" +
cuts, 1800, 900);
537 p = (TPad *) c1->cd(idx++);
541 TH1 *
proj = hcemc->ProjectionX();
542 proj->SetLineColor(kBlack);
544 TH1 * proj = hcemcc->ProjectionX();
545 proj->SetLineColor(kRed);
548 p = (TPad *) c1->cd(idx++);
552 TH1 * proj = hcalin->ProjectionX();
553 proj->SetLineColor(kBlack);
555 TH1 * proj = hcalinc->ProjectionX();
556 proj->SetLineColor(kRed);
559 p = (TPad *) c1->cd(idx++);
563 TH1 * proj = hcemc->ProjectionY();
564 proj->SetLineColor(kBlack);
566 TH1 * proj = hcemcc->ProjectionY();
567 proj->SetLineColor(kRed);
570 p = (TPad *) c1->cd(idx++);
574 TH1 * proj = hcalin->ProjectionY();
575 proj->SetLineColor(kBlack);
577 TH1 * proj = hcalinc->ProjectionY();
578 proj->SetLineColor(kRed);
582 TString(
_file0->GetName()) + TString(
"_DrawEcal_pDST_")
583 + TString(c1->GetName()), kFALSE);
590 TCanvas *c1 =
new TCanvas(
"UpsilonPair_Checks" +
cuts,
591 "UpsilonPair_Checks" +
cuts, 1800, 900);
596 p = (TPad *) c1->cd(idx++);
598 T->Draw(
"DST.UpsilonPair.gmass>>gmass(100,0,10)");
599 T->Draw(
"DST.UpsilonPair.gmass>>gmassc(100,0,10)",
600 "DST.UpsilonPair.good_upsilon",
"same");
601 gmassc->SetLineColor(kRed);
603 p = (TPad *) c1->cd(idx++);
605 T->Draw(
"DST.UpsilonPair.mass>>mass(100,0,10)");
606 T->Draw(
"DST.UpsilonPair.mass>>massc(100,0,10)",
607 "DST.UpsilonPair.good_upsilon",
"same");
608 massc->SetLineColor(kRed);
610 p = (TPad *) c1->cd(idx++);
612 T->Draw(
"UpsilonPair_trk_gpt>>UpsilonPair_trk_gpt(100,0,10)");
614 p = (TPad *) c1->cd(idx++);
616 T->Draw(
"UpsilonPair_trk_pt:UpsilonPair_trk_gpt>>pt2(100,0,10,100,0,10)",
"",
619 p = (TPad *) c1->cd(idx++);
621 T->Draw(
"UpsilonPair_trk_pt:UpsilonPair_trk_gpt>>pt2c(100,0,10,100,0,10)",
622 "DST.UpsilonPair.good_upsilon",
"colz");
625 TString(
_file0->GetName()) + TString(
"_DrawEcal_pDST_")
626 + TString(c1->GetName()), kFALSE);
632 double threshold[10000] =
636 double eff_err[10000] =
639 assert(hCEMC3_Max->GetNbinsX()<10000);
641 const double n = hCEMC3_Max->GetSum();
644 for (
int i = hCEMC3_Max->GetNbinsX();
i >= 1;
i--)
646 pass += hCEMC3_Max->GetBinContent(
i);
648 const double pp = pass /
n;
652 const double A = z * sqrt(1. / n * pp * (1 - pp) + z * z / 4 / n / n);
653 const double B = 1 / (1 + z * z /
n);
655 threshold[cnt] = hCEMC3_Max->GetBinCenter(
i);
656 eff[cnt] = (pp + z * z / 2 /
n) * B;
657 eff_err[cnt] = A * B;
659 cout << threshold[cnt] <<
": " <<
"CL " << eff[cnt] <<
"+/-"
660 << eff_err[cnt] << endl;
663 TGraphErrors * ge =
new TGraphErrors(cnt, threshold, eff, NULL, eff_err);
673 gStyle->SetOptStat(0);
674 gStyle->SetOptFit(1111);
675 TVirtualFitter::SetDefaultFitter(
"Minuit2");
677 gSystem->Load(
"libg4eval.so");
678 gSystem->Load(
"libemcal_ana.so");
679 gSystem->Load(
"libg4vertex.so");
684 "../../sPHENIX_work/production_analysis/single_particle/spacal2d/fieldmap/G4Hits_sPHENIX_e-_eta0.90_8GeV-ALL.root_Ana.root_DrawEcal_pDST_TrackProjection_Checks_Cut_all_event.root");
687 TH2F * hcemcc_2d = (TH2F *) f->GetObjectChecked(
"hcemcc",
"TH2F");
692 "../../sPHENIX_work/production_analysis/single_particle/spacal1d/fieldmap/G4Hits_sPHENIX_e-_eta0.90_8GeV-ALL.root_Ana.root_DrawEcal_pDST_TrackProjection_Checks_Cut_all_event.root");
695 TH2F * hcemcc_1d = (TH2F *) f->GetObjectChecked(
"hcemcc",
"TH2F");
698 TCanvas *c1 =
new TCanvas(
"TrackProjection_Checks_Comparison" ,
699 "TrackProjection_Checks_Comparison" , 1800, 1000);
704 p = (TPad *) c1->cd(idx++);
708 hcemcc_2d ->
Draw(
"colz");
709 hcemcc_2d->SetTitle(
";Polar Distance (Tower Width);Azimuthal Distance (Tower Width)");
711 TLatex *
text =
new TLatex(0,7,
"2-D Projective SPACAL, 0.9 < #eta_{e^{-}} < 1.0, E_{e^{-}} = 8 GeV");
712 text->SetTextAlign(22);
713 text->SetTextSize(0.044);
717 p = (TPad *) c1->cd(idx++);
721 hcemcc_1d ->
Draw(
"colz");
722 hcemcc_1d->SetTitle(
";Polar Distance (Tower Width);Azimuthal Distance (Tower Width)");
724 TLatex *text =
new TLatex(0,7,
"1-D Projective SPACAL, 0.9 < #eta_{e^{-}} < 1.0, E_{e^{-}} = 8 GeV");
725 text->SetTextAlign(22);
726 text->SetTextSize(0.044);
731 "../../sPHENIX_work/production_analysis/" + TString(
"DrawEcal_pDST_")
732 + TString(c1->GetName()));
742 const double center_cemc_iphi = 0.0202159;
743 const double center_cemc_ieta = 0.00453938;
744 const double center_hcalin_iphi = 0.488432;
745 const double center_hcalin_ieta = -0.00936002;
750 const double center_cemc_iphi = 0.0402477;
751 const double center_cemc_ieta = 0.00574989;
752 const double center_hcalin_iphi = 0.331081;
753 const double center_hcalin_ieta = -0.000527382;
759 const double center_cemc_iphi = 0.0649585;
760 const double center_cemc_ieta = 0.00465546;
761 const double center_hcalin_iphi = 0.552238;
762 const double center_hcalin_ieta = -0.0102162;
767 const double center_cemc_iphi = 0.044375;
768 const double center_cemc_ieta = 0.00680547;
769 const double center_hcalin_iphi = 0.336741;
770 const double center_hcalin_ieta = 0.00108616;
775 const double center_cemc_iphi = 0.0952638;
776 const double center_cemc_ieta = 0.00397331;
777 const double center_hcalin_iphi = 0.592338;
778 const double center_hcalin_ieta = -0.0118107;
783 const double center_cemc_iphi = 0.0577477;
784 const double center_cemc_ieta = 0.00609392;
785 const double center_hcalin_iphi = 0.354109;
786 const double center_hcalin_ieta = -0.000273002;
791 const double center_cemc_iphi = 0.170699;
792 const double center_cemc_ieta = 0.00345903;
793 const double center_hcalin_iphi = 0.668343;
794 const double center_hcalin_ieta = -0.0130487;
799 const double center_cemc_iphi = 0.0898377;
800 const double center_cemc_ieta = 0.00445598;
801 const double center_hcalin_iphi = 0.376608;
802 const double center_hcalin_ieta = -0.0074984;
807 const double center_cemc_iphi = 0.122055;
808 const double center_cemc_ieta = 1.52588;
809 const double center_hcalin_iphi = 0.644177;
810 const double center_hcalin_ieta = -0.799621;
814 const double center_cemc_iphi = 0.122055;
815 const double center_cemc_ieta = 1.52588;
816 const double center_hcalin_iphi = 0.644177;
817 const double center_hcalin_ieta = -0.799621;
821 const double center_cemc_iphi = 0.251162;
822 const double center_cemc_ieta = 1.35067;
823 const double center_hcalin_iphi = 0.761301;
824 const double center_hcalin_ieta = -0.874644;
828 const double center_cemc_iphi = 0.177891;
829 const double center_cemc_ieta = 2.62604;
830 const double center_hcalin_iphi = 0.393433;
831 const double center_hcalin_ieta = -0.116632;
835 const double center_cemc_iphi = 0.53236;
836 const double center_cemc_ieta = 1.15917;
837 const double center_hcalin_iphi = 0.899527;
838 const double center_hcalin_ieta = -0.889783;
842 const double center_cemc_iphi = 0.378081;
843 const double center_cemc_ieta = 2.47524;
844 const double center_hcalin_iphi = 0.445272;
845 const double center_hcalin_ieta = -0.180098;
850 const double center_cemc_iphi = 0.129035;
851 const double center_cemc_ieta = 0.0222246;
852 const double center_hcalin_iphi = 0.701734;
853 const double center_hcalin_ieta = -0.474402;
858 const double center_cemc_iphi = 0.0736277;
859 const double center_cemc_ieta = 0.0556152;
860 const double center_hcalin_iphi = 0.385379;
861 const double center_hcalin_ieta = -0.0596968;
866 const double center_cemc_iphi = 0.249273;
867 const double center_cemc_ieta = 0.0146006;
868 const double center_hcalin_iphi = 0.843407;
869 const double center_hcalin_ieta = -0.592856;
874 const double center_cemc_iphi = 0.12442;
875 const double center_cemc_ieta = 0.0514677;
876 const double center_hcalin_iphi = 0.447927;
877 const double center_hcalin_ieta = -0.101503;
882 const double center_cemc_iphi = 0.0829824;
883 const double center_cemc_ieta = 0.0275653;
884 const double center_hcalin_iphi = 0.635325;
885 const double center_hcalin_ieta = -0.408261;
890 const double center_cemc_iphi = 0.054392;
891 const double center_cemc_ieta = 0.0852583;
892 const double center_hcalin_iphi = 0.348779;
893 const double center_hcalin_ieta = -0.0348952;
901 const double center_cemc_iphi = -0.16237;
902 const double center_cemc_ieta = 0.00993428;
903 const double center_hcalin_iphi = 0.312564;
904 const double center_hcalin_ieta = -0.568171;
909 const double center_cemc_iphi = -0.039828;
910 const double center_cemc_ieta = 0.0489088;
911 const double center_hcalin_iphi = 0.338006;
912 const double center_hcalin_ieta = -0.0939571;
917 const double center_cemc_iphi = -0.0455698;
918 const double center_cemc_ieta = 0.0181539;
919 const double center_hcalin_iphi = 0.444123;
920 const double center_hcalin_ieta = -0.475483;
925 const double center_cemc_iphi = 0.0114778;
926 const double center_cemc_ieta = 0.0580504;
927 const double center_hcalin_iphi = 0.340425;
928 const double center_hcalin_ieta = -0.0670486;
934 const double center_cemc_iphi = 0.00278605;
935 const double center_cemc_ieta = 0.0237387;
936 const double center_hcalin_iphi = 0.504268;
937 const double center_hcalin_ieta = -0.401039;
942 const double center_cemc_iphi = 0.0313807;
943 const double center_cemc_ieta = 0.0800593;
944 const double center_hcalin_iphi = 0.336144;
945 const double center_hcalin_ieta = -0.0484305;
953 const double center_cemc_iphi = -0.122248;
954 const double center_cemc_ieta = 1.52555;
955 const double center_hcalin_iphi = 0.500768;
956 const double center_hcalin_ieta = -0.802395;
960 const double center_cemc_iphi = -0.0819904;
961 const double center_cemc_ieta = 2.83299;
962 const double center_hcalin_iphi = 0.33193;
963 const double center_hcalin_ieta = -0.0749197;
968 const double center_cemc_iphi = -0.252243;
969 const double center_cemc_ieta = 1.34503;
970 const double center_hcalin_iphi = 0.411387;
971 const double center_hcalin_ieta = -0.860032;
976 const double center_cemc_iphi = -0.171931;
977 const double center_cemc_ieta = 2.65013;
978 const double center_hcalin_iphi = 0.334954;
979 const double center_hcalin_ieta = -0.0992204;
984 const double center_cemc_iphi = -0.530751;
985 const double center_cemc_ieta = 1.15259;
986 const double center_hcalin_iphi = 0.228558;
987 const double center_hcalin_ieta = -0.923731;
992 const double center_cemc_iphi = -0.371817;
993 const double center_cemc_ieta = 2.46165;
994 const double center_hcalin_iphi = 0.317738;
995 const double center_hcalin_ieta = -0.119789;