17 #include "SaveCanvas.C"
18 #include "SetOKStyle.C"
27 const TString
infile =
"G4Hits_sPHENIX_gamma_eta0_8GeV-0000.root_Ana.root"
31 gStyle->SetOptStat(0);
32 gStyle->SetOptFit(1111);
33 TVirtualFitter::SetDefaultFitter(
"Minuit2");
35 gSystem->Load(
"libg4eval.so");
36 gSystem->Load(
"libemcal_ana.so");
37 gSystem->Load(
"libg4vertex.so");
41 TString chian_str =
infile;
42 chian_str.ReplaceAll(
"ALL",
"*");
43 chian_str.ReplaceAll(
"+",
"\\+");
45 TChain *
t =
new TChain(
"T");
46 const int n = t->Add(chian_str);
48 cout <<
"Loaded " << n <<
" root files with " << chian_str << endl;
58 TObjArray *fileElements = t->GetListOfFiles();
59 TIter
next(fileElements);
60 TChainElement *chEl = 0;
61 while ((chEl = (TChainElement*)
next()))
63 flst << chEl->GetTitle() << endl;
67 cout <<
"Saved file list to " <<
infile +
".lst" << endl;
72 T->SetAlias(
"UpsilonPair_trk_gpt",
73 "1*sqrt(DST.UpsilonPair.trk.gpx**2 + DST.UpsilonPair.trk.gpy**2)");
74 T->SetAlias(
"UpsilonPair_trk_pt",
75 "1*sqrt(DST.UpsilonPair.trk.px**2 + DST.UpsilonPair.trk.py**2)");
77 T->SetAlias(
"MCPhoton_pt",
"1*sqrt(DST.MCPhoton.px**2 + DST.MCPhoton.py**2)");
78 T->SetAlias(
"MCPhoton_gpt",
79 "1*sqrt(DST.MCPhoton.gpx**2 + DST.MCPhoton.gpy**2)");
84 cout <<
"Build event selection of " << (
const char *) event_sel << endl;
86 T->Draw(
">>EventList", event_sel);
87 TEventList * elist = gDirectory->GetObjectChecked(
"EventList",
"TEventList");
88 cout << elist->GetN() <<
" / " <<
T->GetEntriesFast() <<
" events selected"
91 T->SetEventList(elist);
104 TCanvas *c1 =
new TCanvas(
"MakeRadiusCut" +
cuts,
"MakeRadiusCut" +
cuts,
110 p = (TPad *) c1->cd(idx++);
114 T->Draw(
"DST.MCPhoton.cemc_iphi>>hcemc_iphi(130,-6.5,6.5)",
115 TString(
"DST.MCPhoton.cemc_energy * (")
116 + TString(good_track_cut.GetTitle()) +
")");
117 hcemc_iphi->SetTitle(
118 ";CEMC Azimuthal Distance (Tower Width);Energy Distribution");
119 hcemc_iphi->Fit(
"gaus",
"M");
120 TF1*
f = (TF1*) (hcemc_iphi->GetListOfFunctions()->At(0));
122 T->SetAlias(
"MCPhoton_cor_cemc_iphi",
123 Form(
"DST.MCPhoton.cemc_iphi - %f", f->GetParameter(1)));
125 const double center_cemc_iphi = f->GetParameter(1);
127 p = (TPad *) c1->cd(idx++);
131 T->Draw(
"abs(MCPhoton_cor_cemc_iphi)>>hMCPhoton_cor_cemc_iphi(130,0,6.5)",
132 TString(
"DST.MCPhoton.cemc_energy * (")
133 + TString(good_track_cut.GetTitle()) +
")");
135 p->DrawFrame(0, 1
e-3, 6.5, 1,
136 ";CEMC Azimuthal Distance (Tower Width);Energy Leakage Ratio");
138 ge->SetLineColor(kBlue + 2);
139 ge->SetMarkerColor(kBlue + 21);
140 ge->SetMarkerColor(kFullCircle);
144 p = (TPad *) c1->cd(idx++);
148 T->Draw(
"DST.MCPhoton.cemc_ieta>>hcemc_ieta(130,-6.5,6.5)",
149 TString(
"DST.MCPhoton.cemc_energy * (")
150 + TString(good_track_cut.GetTitle()) +
")");
151 hcemc_ieta->SetTitle(
152 ";CEMC Polar Distance (Tower Width);Energy Distribution");
153 hcemc_ieta->Fit(
"gaus",
"M");
154 TF1* f = (TF1*) (hcemc_ieta->GetListOfFunctions()->At(0));
156 T->SetAlias(
"MCPhoton_cor_cemc_ieta",
157 Form(
"DST.MCPhoton.cemc_ieta - %f", f->GetParameter(1)));
159 const double center_cemc_ieta = f->GetParameter(1);
161 p = (TPad *) c1->cd(idx++);
165 T->Draw(
"abs(MCPhoton_cor_cemc_ieta)>>hMCPhoton_cor_cemc_ieta(130,0,6.5)",
166 TString(
"DST.MCPhoton.cemc_energy * (")
167 + TString(good_track_cut.GetTitle()) +
")");
169 p->DrawFrame(0, 1
e-3, 6.5, 1,
170 ";CEMC Polar Distance (Tower Width);Energy Leakage Ratio");
172 ge->SetLineColor(kBlue + 2);
173 ge->SetMarkerColor(kBlue + 21);
174 ge->SetMarkerColor(kFullCircle);
178 p = (TPad *) c1->cd(idx++);
182 T->Draw(
"DST.MCPhoton.hcalin_iphi>>hhcalin_iphi(130,-6.5,6.5)",
183 TString(
"DST.MCPhoton.hcalin_energy * (")
184 + TString(good_track_cut.GetTitle()) +
")");
185 hhcalin_iphi->SetTitle(
186 ";HCal_{IN} Azimuthal Distance (Tower Width);Energy Distribution");
187 hhcalin_iphi->Fit(
"gaus",
"M");
188 TF1* f = (TF1*) (hhcalin_iphi->GetListOfFunctions()->At(0));
190 T->SetAlias(
"MCPhoton_cor_hcalin_iphi",
191 Form(
"DST.MCPhoton.hcalin_iphi - %f", f->GetParameter(1)));
193 const double center_hcalin_iphi = f->GetParameter(1);
195 p = (TPad *) c1->cd(idx++);
199 T->Draw(
"abs(MCPhoton_cor_hcalin_iphi)>>hMCPhoton_cor_hcalin_iphi(130,0,6.5)",
200 TString(
"DST.MCPhoton.hcalin_energy * (")
201 + TString(good_track_cut.GetTitle()) +
")");
203 p->DrawFrame(0, 1
e-3, 6.5, 1,
204 ";HCal_{IN} Azimuthal Distance (Tower Width);Energy Leakage Ratio");
206 ge->SetLineColor(kBlue + 2);
207 ge->SetMarkerColor(kBlue + 21);
208 ge->SetMarkerColor(kFullCircle);
212 p = (TPad *) c1->cd(idx++);
216 T->Draw(
"DST.MCPhoton.hcalin_ieta>>hhcalin_ieta(130,-6.5,6.5)",
217 TString(
"DST.MCPhoton.hcalin_energy * (")
218 + TString(good_track_cut.GetTitle()) +
")");
219 hhcalin_ieta->SetTitle(
220 ";HCal_{IN} Polar Distance (Tower Width);Energy Distribution");
221 hhcalin_ieta->Fit(
"gaus",
"M");
222 TF1* f = (TF1*) (hhcalin_ieta->GetListOfFunctions()->At(0));
224 T->SetAlias(
"MCPhoton_cor_hcalin_ieta",
225 Form(
"DST.MCPhoton.hcalin_ieta - %f", f->GetParameter(1)));
227 const double center_hcalin_ieta = f->GetParameter(1);
229 p = (TPad *) c1->cd(idx++);
233 T->Draw(
"abs(MCPhoton_cor_hcalin_ieta)>>hMCPhoton_cor_hcalin_ieta(130,0,6.5)",
234 TString(
"DST.MCPhoton.hcalin_energy * (")
235 + TString(good_track_cut.GetTitle()) +
")");
237 p->DrawFrame(0, 1
e-3, 6.5, 1,
238 ";HCal_{IN} Polar Distance (Tower Width);Energy Leakage Ratio");
240 ge->SetLineColor(kBlue + 2);
241 ge->SetMarkerColor(kBlue + 21);
242 ge->SetMarkerColor(kFullCircle);
246 T->SetAlias(
"MCPhoton_cemc_e",
248 "1*Sum$( DST.MCPhoton.cemc_energy * ( sqrt(MCPhoton_cor_cemc_iphi*MCPhoton_cor_cemc_iphi + MCPhoton_cor_cemc_ieta*MCPhoton_cor_cemc_ieta) < %f ) )",
250 T->SetAlias(
"MCPhoton_hcalin_e",
252 "1*Sum$( DST.MCPhoton.hcalin_energy * ( sqrt(MCPhoton_cor_hcalin_iphi*MCPhoton_cor_hcalin_iphi + MCPhoton_cor_hcalin_ieta*MCPhoton_cor_hcalin_ieta) < %f ) )",
255 T->SetAlias(
"MCPhoton_cemc_ntower",
257 "1*Sum$(( sqrt(MCPhoton_cor_cemc_iphi*MCPhoton_cor_cemc_iphi + MCPhoton_cor_cemc_ieta*MCPhoton_cor_cemc_ieta) < %f ) )",
259 T->SetAlias(
"MCPhoton_hcalin_ntower",
261 "1*Sum$( ( sqrt(MCPhoton_cor_hcalin_iphi*MCPhoton_cor_hcalin_iphi + MCPhoton_cor_hcalin_ieta*MCPhoton_cor_hcalin_ieta) < %f ) )",
265 TString(
_file0->GetName()) + TString(
"_DrawEcal_pDST_")
266 + Form(
"RCEMC%.1f_RCEMC%.1f_", R_CEMC, R_HCALIN)
267 + TString(c1->GetName()), kFALSE);
269 cout <<
"///////////////////////////////////////////////" << endl;
270 cout <<
"// Projection center based on " <<
_file0->GetName() << endl;
271 cout <<
"///////////////////////////////////////////////" << endl;
273 cout <<
"const double center_cemc_iphi = " << center_cemc_iphi <<
"; // "
274 <<
_file0->GetName() << endl;
275 cout <<
"const double center_cemc_ieta = " << center_cemc_ieta <<
"; // "
276 <<
_file0->GetName() << endl;
277 cout <<
"const double center_hcalin_iphi = " << center_hcalin_iphi <<
"; // "
278 <<
_file0->GetName() << endl;
279 cout <<
"const double center_hcalin_ieta = " << center_hcalin_ieta <<
"; // "
280 <<
_file0->GetName() << endl;
290 double N_Event =
T->GetEntries();
292 TCanvas *c1 =
new TCanvas(
"Edep_Checks" +
cuts,
"Edep_Checks" +
cuts, 1900,
298 p = (TPad *) c1->cd(idx++);
301 T->Draw(
"MCPhoton_cemc_ntower>>hMCPhoton_cemc_ntower(16,-.5,15.5)",
303 hMCPhoton_cemc_ntower->SetTitle(
304 Form(
"CEMC Cluster Size (R = %.1f);Cluster Size (Towers);Probability",
306 hMCPhoton_cemc_ntower->Scale(1. / N_Event);
308 p = (TPad *) c1->cd(idx++);
311 T->Draw(
"MCPhoton_hcalin_ntower>>hMCPhoton_hcalin_ntower(16,-.5,15.5)",
313 hMCPhoton_hcalin_ntower->SetTitle(
315 "HCal_{in} Cluster Size (R = %.1f);Cluster Size (Towers);Probability",
317 hMCPhoton_hcalin_ntower->Scale(1. / N_Event);
319 p = (TPad *) c1->cd(idx++);
322 T->Draw(
"MCPhoton_cemc_e>>hMCPhoton_cemc_e(240,-.0,12)", good_track_cut);
323 hMCPhoton_cemc_e->SetTitle(
325 "CEMC Cluster Energy (R = %.1f);Cluster Energy (/bin);Probability/bin",
327 hMCPhoton_cemc_e->Scale(1. / N_Event);
329 p = (TPad *) c1->cd(idx++);
332 T->Draw(
"MCPhoton_hcalin_e>>hMCPhoton_hcalin_e(240,-.0,12)", good_track_cut);
333 hMCPhoton_hcalin_e->SetTitle(
335 "HCal_{in} Cluster Energy (R = %.1f);Cluster Energy (GeV);Probability/bin",
337 hMCPhoton_hcalin_e->Scale(1. / N_Event);
340 TString(
_file0->GetName()) + TString(
"_DrawEcal_pDST_")
341 + Form(
"RCEMC%.1f_RCEMC%.1f_", R_CEMC, R_HCALIN)
342 + TString(c1->GetName()), kFALSE);
344 TCanvas *c1 =
new TCanvas(
"Edep_Checks_2D" +
cuts,
"Edep_Checks_2D" +
cuts,
350 p = (TPad *) c1->cd(idx++);
354 "MCPhoton_hcalin_e:MCPhoton_cemc_e>>h2_MCPhoton_hcalin_e_MCPhoton_cemc_e(240,-.0,12, 240,-.0,12)",
355 good_track_cut,
"colz");
356 h2_MCPhoton_hcalin_e_MCPhoton_cemc_e->SetTitle(
358 "Energy distribution;CEMC Cluster Energy (R = %.1f) in GeV;HCal_{in} Cluster Energy (R = %.1f) in GeV",
360 h2_MCPhoton_hcalin_e_MCPhoton_cemc_e->Scale(1. / N_Event);
361 h2_MCPhoton_hcalin_e_MCPhoton_cemc_e->GetZaxis()->SetRangeUser(1
e-6, 1);
364 TString(
_file0->GetName()) + TString(
"_DrawEcal_pDST_")
365 + Form(
"RCEMC%.1f_RCEMC%.1f_", R_CEMC, R_HCALIN)
366 + TString(c1->GetName()), kFALSE);
374 double N_Event =
T->GetEntries();
376 TCanvas *c1 =
new TCanvas(
"TrackProjection_Checks_Raw" +
cuts,
377 "TrackProjection_Checks_Raw" +
cuts, 1800, 900);
382 p = (TPad *) c1->cd(idx++);
386 "DST.MCPhoton.cemc_iphi:DST.MCPhoton.cemc_ieta>>hcemc(130,-6.5,6.5,130,-6.5,6.5)",
387 "DST.MCPhoton.cemc_energy",
"colz");
389 "CEMC Tower Energy Distribution;Polar Distance (Tower Width);Azimuthal Distance (Tower Width)");
390 hcemc->Scale(1. / N_Event);
391 hcemc->GetZaxis()->SetRangeUser(1
e-5, 30);
393 p = (TPad *) c1->cd(idx++);
397 "DST.MCPhoton.hcalin_iphi:DST.MCPhoton.hcalin_ieta>>hcalin(130,-6.5,6.5,130,-6.5,6.5)",
398 "DST.MCPhoton.hcalin_energy",
"colz");
400 "HCal_{in} Tower Energy Distribution;Polar Distance (Tower Width);Azimuthal Distance (Tower Width)");
401 hcalin->Scale(1. / N_Event);
402 hcalin->GetZaxis()->SetRangeUser(1
e-5, 30);
405 TString(
_file0->GetName()) + TString(
"_DrawEcal_pDST_")
406 + TString(c1->GetName()), kFALSE);
410 TCanvas *c1 =
new TCanvas(
"TrackProjection_Checks_Proj" +
cuts,
411 "TrackProjection_Checks_Proj" +
cuts, 1800, 900);
416 p = (TPad *) c1->cd(idx++);
420 TH1 *
proj = hcemc->ProjectionX();
421 proj->SetLineColor(kBlack);
427 p = (TPad *) c1->cd(idx++);
431 TH1 * proj = hcalin->ProjectionX();
432 proj->SetLineColor(kBlack);
438 p = (TPad *) c1->cd(idx++);
442 TH1 * proj = hcemc->ProjectionY();
443 proj->SetLineColor(kBlack);
449 p = (TPad *) c1->cd(idx++);
453 TH1 * proj = hcalin->ProjectionY();
454 proj->SetLineColor(kBlack);
461 TString(
_file0->GetName()) + TString(
"_DrawEcal_pDST_")
462 + TString(c1->GetName()), kFALSE);
469 TCanvas *c1 =
new TCanvas(
"UpsilonPair_Checks" +
cuts,
470 "UpsilonPair_Checks" +
cuts, 1800, 900);
475 p = (TPad *) c1->cd(idx++);
477 T->Draw(
"DST.UpsilonPair.gmass>>gmass(100,0,10)");
478 T->Draw(
"DST.UpsilonPair.gmass>>gmassc(100,0,10)",
479 "DST.UpsilonPair.good_upsilon",
"same");
480 gmassc->SetLineColor(kRed);
482 p = (TPad *) c1->cd(idx++);
484 T->Draw(
"DST.UpsilonPair.mass>>mass(100,0,10)");
485 T->Draw(
"DST.UpsilonPair.mass>>massc(100,0,10)",
486 "DST.UpsilonPair.good_upsilon",
"same");
487 massc->SetLineColor(kRed);
489 p = (TPad *) c1->cd(idx++);
491 T->Draw(
"UpsilonPair_trk_gpt>>UpsilonPair_trk_gpt(100,0,10)");
493 p = (TPad *) c1->cd(idx++);
495 T->Draw(
"UpsilonPair_trk_pt:UpsilonPair_trk_gpt>>pt2(100,0,10,100,0,10)",
"",
498 p = (TPad *) c1->cd(idx++);
500 T->Draw(
"UpsilonPair_trk_pt:UpsilonPair_trk_gpt>>pt2c(100,0,10,100,0,10)",
501 "DST.UpsilonPair.good_upsilon",
"colz");
504 TString(
_file0->GetName()) + TString(
"_DrawEcal_pDST_")
505 + TString(c1->GetName()), kFALSE);
511 double threshold[10000] =
515 double eff_err[10000] =
518 assert(hCEMC3_Max->GetNbinsX()<10000);
520 const double n = hCEMC3_Max->GetSum();
523 for (
int i = hCEMC3_Max->GetNbinsX();
i >= 1;
i--)
525 pass += hCEMC3_Max->GetBinContent(
i);
527 const double pp = pass /
n;
531 const double A = z * sqrt(1. / n * pp * (1 - pp) + z * z / 4 / n / n);
532 const double B = 1 / (1 + z * z /
n);
534 threshold[cnt] = hCEMC3_Max->GetBinCenter(
i);
535 eff[cnt] = (pp + z * z / 2 /
n) * B;
536 eff_err[cnt] = A * B;
538 cout << threshold[cnt] <<
": " <<
"CL " << eff[cnt] <<
"+/-"
539 << eff_err[cnt] << endl;
542 TGraphErrors * ge =
new TGraphErrors(cnt, threshold, eff, NULL, eff_err);
552 gStyle->SetOptStat(0);
553 gStyle->SetOptFit(1111);
554 TVirtualFitter::SetDefaultFitter(
"Minuit2");
556 gSystem->Load(
"libg4eval.so");
557 gSystem->Load(
"libemcal_ana.so");
558 gSystem->Load(
"libg4vertex.so");
563 "/phenix/sim02/phnxreco/ePHENIX/jinhuang/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");
566 TH2F * hcemcc_2d = (TH2F *) f->GetObjectChecked(
"hcemcc",
"TH2F");
571 "/phenix/sim02/phnxreco/ePHENIX/jinhuang/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");
574 TH2F * hcemcc_1d = (TH2F *) f->GetObjectChecked(
"hcemcc",
"TH2F");
577 TCanvas *c1 =
new TCanvas(
"TrackProjection_Checks_Comparison" ,
578 "TrackProjection_Checks_Comparison" , 1800, 1000);
583 p = (TPad *) c1->cd(idx++);
587 hcemcc_2d ->
Draw(
"colz");
588 hcemcc_2d->SetTitle(
";Polar Distance (Tower Width);Azimuthal Distance (Tower Width)");
590 TLatex *
text =
new TLatex(0,7,
"2-D Projective SPACAL, 0.9 < #eta_{e^{-}} < 1.0, E_{e^{-}} = 8 GeV");
591 text->SetTextAlign(22);
592 text->SetTextSize(0.044);
596 p = (TPad *) c1->cd(idx++);
600 hcemcc_1d ->
Draw(
"colz");
601 hcemcc_1d->SetTitle(
";Polar Distance (Tower Width);Azimuthal Distance (Tower Width)");
603 TLatex *text =
new TLatex(0,7,
"1-D Projective SPACAL, 0.9 < #eta_{e^{-}} < 1.0, E_{e^{-}} = 8 GeV");
604 text->SetTextAlign(22);
605 text->SetTextSize(0.044);
610 "/phenix/sim02/phnxreco/ePHENIX/jinhuang/sPHENIX_work/production_analysis/" + TString(
"DrawEcal_pDST_")
611 + TString(c1->GetName()));
621 const double center_cemc_iphi = 0.0202159;
622 const double center_cemc_ieta = 0.00453938;
623 const double center_hcalin_iphi = 0.488432;
624 const double center_hcalin_ieta = -0.00936002;
629 const double center_cemc_iphi = 0.0402477;
630 const double center_cemc_ieta = 0.00574989;
631 const double center_hcalin_iphi = 0.331081;
632 const double center_hcalin_ieta = -0.000527382;
638 const double center_cemc_iphi = 0.0649585;
639 const double center_cemc_ieta = 0.00465546;
640 const double center_hcalin_iphi = 0.552238;
641 const double center_hcalin_ieta = -0.0102162;
646 const double center_cemc_iphi = 0.044375;
647 const double center_cemc_ieta = 0.00680547;
648 const double center_hcalin_iphi = 0.336741;
649 const double center_hcalin_ieta = 0.00108616;
654 const double center_cemc_iphi = 0.0952638;
655 const double center_cemc_ieta = 0.00397331;
656 const double center_hcalin_iphi = 0.592338;
657 const double center_hcalin_ieta = -0.0118107;
662 const double center_cemc_iphi = 0.0577477;
663 const double center_cemc_ieta = 0.00609392;
664 const double center_hcalin_iphi = 0.354109;
665 const double center_hcalin_ieta = -0.000273002;
670 const double center_cemc_iphi = 0.170699;
671 const double center_cemc_ieta = 0.00345903;
672 const double center_hcalin_iphi = 0.668343;
673 const double center_hcalin_ieta = -0.0130487;
678 const double center_cemc_iphi = 0.0898377;
679 const double center_cemc_ieta = 0.00445598;
680 const double center_hcalin_iphi = 0.376608;
681 const double center_hcalin_ieta = -0.0074984;
686 const double center_cemc_iphi = 0.122055;
687 const double center_cemc_ieta = 1.52588;
688 const double center_hcalin_iphi = 0.644177;
689 const double center_hcalin_ieta = -0.799621;
693 const double center_cemc_iphi = 0.122055;
694 const double center_cemc_ieta = 1.52588;
695 const double center_hcalin_iphi = 0.644177;
696 const double center_hcalin_ieta = -0.799621;
700 const double center_cemc_iphi = 0.251162;
701 const double center_cemc_ieta = 1.35067;
702 const double center_hcalin_iphi = 0.761301;
703 const double center_hcalin_ieta = -0.874644;
707 const double center_cemc_iphi = 0.177891;
708 const double center_cemc_ieta = 2.62604;
709 const double center_hcalin_iphi = 0.393433;
710 const double center_hcalin_ieta = -0.116632;
714 const double center_cemc_iphi = 0.53236;
715 const double center_cemc_ieta = 1.15917;
716 const double center_hcalin_iphi = 0.899527;
717 const double center_hcalin_ieta = -0.889783;
721 const double center_cemc_iphi = 0.378081;
722 const double center_cemc_ieta = 2.47524;
723 const double center_hcalin_iphi = 0.445272;
724 const double center_hcalin_ieta = -0.180098;
729 const double center_cemc_iphi = 0.129035;
730 const double center_cemc_ieta = 0.0222246;
731 const double center_hcalin_iphi = 0.701734;
732 const double center_hcalin_ieta = -0.474402;
737 const double center_cemc_iphi = 0.0736277;
738 const double center_cemc_ieta = 0.0556152;
739 const double center_hcalin_iphi = 0.385379;
740 const double center_hcalin_ieta = -0.0596968;
745 const double center_cemc_iphi = 0.249273;
746 const double center_cemc_ieta = 0.0146006;
747 const double center_hcalin_iphi = 0.843407;
748 const double center_hcalin_ieta = -0.592856;
753 const double center_cemc_iphi = 0.12442;
754 const double center_cemc_ieta = 0.0514677;
755 const double center_hcalin_iphi = 0.447927;
756 const double center_hcalin_ieta = -0.101503;
761 const double center_cemc_iphi = 0.0829824;
762 const double center_cemc_ieta = 0.0275653;
763 const double center_hcalin_iphi = 0.635325;
764 const double center_hcalin_ieta = -0.408261;
769 const double center_cemc_iphi = 0.054392;
770 const double center_cemc_ieta = 0.0852583;
771 const double center_hcalin_iphi = 0.348779;
772 const double center_hcalin_ieta = -0.0348952;
780 const double center_cemc_iphi = -0.16237;
781 const double center_cemc_ieta = 0.00993428;
782 const double center_hcalin_iphi = 0.312564;
783 const double center_hcalin_ieta = -0.568171;
788 const double center_cemc_iphi = -0.039828;
789 const double center_cemc_ieta = 0.0489088;
790 const double center_hcalin_iphi = 0.338006;
791 const double center_hcalin_ieta = -0.0939571;
796 const double center_cemc_iphi = -0.0455698;
797 const double center_cemc_ieta = 0.0181539;
798 const double center_hcalin_iphi = 0.444123;
799 const double center_hcalin_ieta = -0.475483;
804 const double center_cemc_iphi = 0.0114778;
805 const double center_cemc_ieta = 0.0580504;
806 const double center_hcalin_iphi = 0.340425;
807 const double center_hcalin_ieta = -0.0670486;
813 const double center_cemc_iphi = 0.00278605;
814 const double center_cemc_ieta = 0.0237387;
815 const double center_hcalin_iphi = 0.504268;
816 const double center_hcalin_ieta = -0.401039;
821 const double center_cemc_iphi = 0.0313807;
822 const double center_cemc_ieta = 0.0800593;
823 const double center_hcalin_iphi = 0.336144;
824 const double center_hcalin_ieta = -0.0484305;
832 const double center_cemc_iphi = -0.122248;
833 const double center_cemc_ieta = 1.52555;
834 const double center_hcalin_iphi = 0.500768;
835 const double center_hcalin_ieta = -0.802395;
839 const double center_cemc_iphi = -0.0819904;
840 const double center_cemc_ieta = 2.83299;
841 const double center_hcalin_iphi = 0.33193;
842 const double center_hcalin_ieta = -0.0749197;
847 const double center_cemc_iphi = -0.252243;
848 const double center_cemc_ieta = 1.34503;
849 const double center_hcalin_iphi = 0.411387;
850 const double center_hcalin_ieta = -0.860032;
855 const double center_cemc_iphi = -0.171931;
856 const double center_cemc_ieta = 2.65013;
857 const double center_hcalin_iphi = 0.334954;
858 const double center_hcalin_ieta = -0.0992204;
863 const double center_cemc_iphi = -0.530751;
864 const double center_cemc_ieta = 1.15259;
865 const double center_hcalin_iphi = 0.228558;
866 const double center_hcalin_ieta = -0.923731;
871 const double center_cemc_iphi = -0.371817;
872 const double center_cemc_ieta = 2.46165;
873 const double center_hcalin_iphi = 0.317738;
874 const double center_hcalin_ieta = -0.119789;